pub struct SponsorshipEditedChanges {
pub privacy_level: Option<SponsorshipEditedChangesPrivacyLevel>,
}
Expand description
SponsorshipEditedChanges
JSON schema
{
"type": "object",
"properties": {
"privacy_level": {
"type": "object",
"required": [
"from"
],
"properties": {
"from": {
"description": "The `edited` event types include the details about the change when someone edits a sponsorship to change the privacy.",
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Fields§
§privacy_level: Option<SponsorshipEditedChangesPrivacyLevel>
Implementations§
Source§impl SponsorshipEditedChanges
impl SponsorshipEditedChanges
pub fn builder() -> SponsorshipEditedChanges
Trait Implementations§
Source§impl Clone for SponsorshipEditedChanges
impl Clone for SponsorshipEditedChanges
Source§fn clone(&self) -> SponsorshipEditedChanges
fn clone(&self) -> SponsorshipEditedChanges
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 SponsorshipEditedChanges
impl Debug for SponsorshipEditedChanges
Source§impl<'de> Deserialize<'de> for SponsorshipEditedChanges
impl<'de> Deserialize<'de> for SponsorshipEditedChanges
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<&SponsorshipEditedChanges> for SponsorshipEditedChanges
impl From<&SponsorshipEditedChanges> for SponsorshipEditedChanges
Source§fn from(value: &SponsorshipEditedChanges) -> Self
fn from(value: &SponsorshipEditedChanges) -> Self
Converts to this type from the input type.
Source§impl From<SponsorshipEditedChanges> for SponsorshipEditedChanges
impl From<SponsorshipEditedChanges> for SponsorshipEditedChanges
Source§fn from(value: SponsorshipEditedChanges) -> Self
fn from(value: SponsorshipEditedChanges) -> Self
Converts to this type from the input type.
Source§impl Serialize for SponsorshipEditedChanges
impl Serialize for SponsorshipEditedChanges
Auto Trait Implementations§
impl Freeze for SponsorshipEditedChanges
impl RefUnwindSafe for SponsorshipEditedChanges
impl Send for SponsorshipEditedChanges
impl Sync for SponsorshipEditedChanges
impl Unpin for SponsorshipEditedChanges
impl UnwindSafe for SponsorshipEditedChanges
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