Supporter

The signed-in supporter.

On this page

The signed-in supporter.

use sponsorkit::Supporter;

pub struct Supporter {
    pub id: String,
    pub identities: Vec<Identity>,
}

Fields#

id#

pub id: String

JSON key: id

Pairwise id (sup_…), stable per target set and first sign-in identity.

identities#

pub identities: Vec<Identity>

JSON key: identities

The identities in the session.

Trait implementations#

  • impl Clone for Supporter
  • impl Debug for Supporter
  • impl Eq for Supporter
  • impl Hash for Supporter
  • impl PartialEq for Supporter
  • impl Serialize for Supporter
  • impl<'de> Deserialize<'de> for Supporter