pub struct WebhookSponsorshipEditedChangesPrivacyLevel {
pub from: String,
}
Fields§
§from: String
The edited
event types include the details about the change when someone edits a sponsorship to change the privacy.
Implementations§
Trait Implementations§
Source§impl Clone for WebhookSponsorshipEditedChangesPrivacyLevel
impl Clone for WebhookSponsorshipEditedChangesPrivacyLevel
Source§fn clone(&self) -> WebhookSponsorshipEditedChangesPrivacyLevel
fn clone(&self) -> WebhookSponsorshipEditedChangesPrivacyLevel
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 Default for WebhookSponsorshipEditedChangesPrivacyLevel
impl Default for WebhookSponsorshipEditedChangesPrivacyLevel
Source§fn default() -> WebhookSponsorshipEditedChangesPrivacyLevel
fn default() -> WebhookSponsorshipEditedChangesPrivacyLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookSponsorshipEditedChangesPrivacyLevel
impl<'de> Deserialize<'de> for WebhookSponsorshipEditedChangesPrivacyLevel
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 WebhookSponsorshipEditedChangesPrivacyLevel
impl PartialEq for WebhookSponsorshipEditedChangesPrivacyLevel
Source§fn eq(&self, other: &WebhookSponsorshipEditedChangesPrivacyLevel) -> bool
fn eq(&self, other: &WebhookSponsorshipEditedChangesPrivacyLevel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookSponsorshipEditedChangesPrivacyLevel
Auto Trait Implementations§
impl Freeze for WebhookSponsorshipEditedChangesPrivacyLevel
impl RefUnwindSafe for WebhookSponsorshipEditedChangesPrivacyLevel
impl Send for WebhookSponsorshipEditedChangesPrivacyLevel
impl Sync for WebhookSponsorshipEditedChangesPrivacyLevel
impl Unpin for WebhookSponsorshipEditedChangesPrivacyLevel
impl UnwindSafe for WebhookSponsorshipEditedChangesPrivacyLevel
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