Struct github_webhook::payload_types::SponsorshipTier
source · pub struct SponsorshipTier<'a> {
pub node_id: &'a str,
pub created_at: &'a str,
pub description: &'a str,
pub monthly_price_in_cents: usize,
pub monthly_price_in_dollars: usize,
pub name: &'a str,
pub is_one_time: bool,
pub is_custom_ammount: bool,
}
Expand description
The tier_changed
and pending_tier_change
will include the original tier before the change or pending change. For more information, see the pending tier change payload.
Fields§
§node_id: &'a str
§created_at: &'a str
§description: &'a str
§monthly_price_in_cents: usize
§monthly_price_in_dollars: usize
§name: &'a str
§is_one_time: bool
§is_custom_ammount: bool
Trait Implementations§
source§impl<'a> Debug for SponsorshipTier<'a>
impl<'a> Debug for SponsorshipTier<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for SponsorshipTier<'a>
impl<'de: 'a, 'a> Deserialize<'de> for SponsorshipTier<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SponsorshipTier<'a>
impl<'a> Send for SponsorshipTier<'a>
impl<'a> Sync for SponsorshipTier<'a>
impl<'a> Unpin for SponsorshipTier<'a>
impl<'a> UnwindSafe for SponsorshipTier<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more