pub struct SetSponsorshipEnabledData {
pub enabled: bool,
}Expand description
Data for SetSponsorshipEnabled admin operation
Fields§
§enabled: boolTrait Implementations§
Source§impl Clone for SetSponsorshipEnabledData
impl Clone for SetSponsorshipEnabledData
Source§fn clone(&self) -> SetSponsorshipEnabledData
fn clone(&self) -> SetSponsorshipEnabledData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SetSponsorshipEnabledData
impl Debug for SetSponsorshipEnabledData
Source§impl<'de> Deserialize<'de> for SetSponsorshipEnabledData
impl<'de> Deserialize<'de> for SetSponsorshipEnabledData
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 SetSponsorshipEnabledData
impl PartialEq for SetSponsorshipEnabledData
Source§fn eq(&self, other: &SetSponsorshipEnabledData) -> bool
fn eq(&self, other: &SetSponsorshipEnabledData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SetSponsorshipEnabledData
impl StructuralPartialEq for SetSponsorshipEnabledData
Auto Trait Implementations§
impl Freeze for SetSponsorshipEnabledData
impl RefUnwindSafe for SetSponsorshipEnabledData
impl Send for SetSponsorshipEnabledData
impl Sync for SetSponsorshipEnabledData
impl Unpin for SetSponsorshipEnabledData
impl UnsafeUnpin for SetSponsorshipEnabledData
impl UnwindSafe for SetSponsorshipEnabledData
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