Via

Whether the supporter paid directly or through an organization.

On this page

Whether the supporter paid directly or through an organization.

use sponsorkit::Via;

pub enum Via {
    Direct,
    Organization,
}

Variants#

VariantWire valueMeaning
DirectdirectPaid by the signed-in user.
OrganizationorganizationPaid by an organization the user belongs to or administers.

Direct#

Wire value: direct

Paid by the signed-in user.

Organization#

Wire value: organization

Paid by an organization the user belongs to or administers.

Trait implementations#

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