SponsorEntity

Who actually pays.

On this page

Who actually pays.

use sponsorkit::SponsorEntity;

pub struct SponsorEntity {
    pub kind: SponsorType,
    pub provider: Provider,
    pub id: String,
    pub handle: Option<String>,
}

Fields#

kind#

pub kind: SponsorType

JSON key: type

User or organization.

provider#

pub provider: Provider

JSON key: provider

The provider of this account.

id#

pub id: String

JSON key: id

Immutable provider id.

handle#

pub handle: Option<String>

JSON key: handle

Login or slug, if known.

Trait implementations#

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