pub struct SponsorshipEditedSponsorship {
pub created_at: DateTime<Utc>,
pub node_id: String,
pub privacy_level: String,
pub sponsor: User,
pub sponsorable: User,
pub tier: SponsorshipTier,
}Expand description
SponsorshipEditedSponsorship
JSON schema
{
"type": "object",
"required": [
"created_at",
"node_id",
"privacy_level",
"sponsor",
"sponsorable",
"tier"
],
"properties": {
"created_at": {
"type": "string",
"format": "date-time"
},
"node_id": {
"type": "string"
},
"privacy_level": {
"type": "string"
},
"sponsor": {
"$ref": "#/definitions/user"
},
"sponsorable": {
"$ref": "#/definitions/user"
},
"tier": {
"$ref": "#/definitions/sponsorship-tier"
}
},
"additionalProperties": false
}Fields§
§created_at: DateTime<Utc>§node_id: String§privacy_level: String§sponsor: User§sponsorable: User§tier: SponsorshipTierImplementations§
Trait Implementations§
Source§impl Clone for SponsorshipEditedSponsorship
impl Clone for SponsorshipEditedSponsorship
Source§fn clone(&self) -> SponsorshipEditedSponsorship
fn clone(&self) -> SponsorshipEditedSponsorship
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 SponsorshipEditedSponsorship
impl Debug for SponsorshipEditedSponsorship
Source§impl<'de> Deserialize<'de> for SponsorshipEditedSponsorship
impl<'de> Deserialize<'de> for SponsorshipEditedSponsorship
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 From<&SponsorshipEditedSponsorship> for SponsorshipEditedSponsorship
impl From<&SponsorshipEditedSponsorship> for SponsorshipEditedSponsorship
Source§fn from(value: &SponsorshipEditedSponsorship) -> Self
fn from(value: &SponsorshipEditedSponsorship) -> Self
Converts to this type from the input type.
Source§impl From<SponsorshipEditedSponsorship> for SponsorshipEditedSponsorship
impl From<SponsorshipEditedSponsorship> for SponsorshipEditedSponsorship
Source§fn from(value: SponsorshipEditedSponsorship) -> Self
fn from(value: SponsorshipEditedSponsorship) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SponsorshipEditedSponsorship
impl RefUnwindSafe for SponsorshipEditedSponsorship
impl Send for SponsorshipEditedSponsorship
impl Sync for SponsorshipEditedSponsorship
impl Unpin for SponsorshipEditedSponsorship
impl UnwindSafe for SponsorshipEditedSponsorship
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