Struct github_rest::model::misc::events::SponsorshipChanges
source · pub struct SponsorshipChanges {
pub tier: Option<Change>,
pub privacy_level: Option<Change>,
}
Fields§
§tier: Option<Change>
§privacy_level: Option<Change>
Trait Implementations§
source§impl Clone for SponsorshipChanges
impl Clone for SponsorshipChanges
source§fn clone(&self) -> SponsorshipChanges
fn clone(&self) -> SponsorshipChanges
Returns a copy 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 SponsorshipChanges
impl Debug for SponsorshipChanges
source§impl<'de> Deserialize<'de> for SponsorshipChanges
impl<'de> Deserialize<'de> for SponsorshipChanges
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<SponsorshipChanges> for SponsorshipChanges
impl PartialEq<SponsorshipChanges> for SponsorshipChanges
source§fn eq(&self, other: &SponsorshipChanges) -> bool
fn eq(&self, other: &SponsorshipChanges) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SponsorshipChanges
impl Serialize for SponsorshipChanges
impl StructuralPartialEq for SponsorshipChanges
Auto Trait Implementations§
impl RefUnwindSafe for SponsorshipChanges
impl Send for SponsorshipChanges
impl Sync for SponsorshipChanges
impl Unpin for SponsorshipChanges
impl UnwindSafe for SponsorshipChanges
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