pub struct WebhooksSponsorship {
pub created_at: String,
pub maintainer: Option<Box<WebhooksSponsorshipMaintainer>>,
pub node_id: String,
pub privacy_level: String,
pub sponsor: Option<Box<User>>,
pub sponsorable: Option<Box<User>>,
pub tier: Box<SponsorshipTier>,
}
Fields§
§created_at: String
§maintainer: Option<Box<WebhooksSponsorshipMaintainer>>
§node_id: String
§privacy_level: String
§sponsor: Option<Box<User>>
§sponsorable: Option<Box<User>>
§tier: Box<SponsorshipTier>
Implementations§
Trait Implementations§
Source§impl Clone for WebhooksSponsorship
impl Clone for WebhooksSponsorship
Source§fn clone(&self) -> WebhooksSponsorship
fn clone(&self) -> WebhooksSponsorship
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebhooksSponsorship
impl Debug for WebhooksSponsorship
Source§impl Default for WebhooksSponsorship
impl Default for WebhooksSponsorship
Source§fn default() -> WebhooksSponsorship
fn default() -> WebhooksSponsorship
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksSponsorship
impl<'de> Deserialize<'de> for WebhooksSponsorship
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
Source§impl PartialEq for WebhooksSponsorship
impl PartialEq for WebhooksSponsorship
Source§impl Serialize for WebhooksSponsorship
impl Serialize for WebhooksSponsorship
impl StructuralPartialEq for WebhooksSponsorship
Auto Trait Implementations§
impl Freeze for WebhooksSponsorship
impl RefUnwindSafe for WebhooksSponsorship
impl Send for WebhooksSponsorship
impl Sync for WebhooksSponsorship
impl Unpin for WebhooksSponsorship
impl UnwindSafe for WebhooksSponsorship
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