pub enum DisallowedGiftsSettings {
DisallowedGiftsSettings(DisallowedGiftsSettings),
}Expand description
Variants§
DisallowedGiftsSettings(DisallowedGiftsSettings)
Trait Implementations§
Source§impl Clone for DisallowedGiftsSettings
impl Clone for DisallowedGiftsSettings
Source§fn clone(&self) -> DisallowedGiftsSettings
fn clone(&self) -> DisallowedGiftsSettings
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 DisallowedGiftsSettings
impl Debug for DisallowedGiftsSettings
Source§impl Deserializable for DisallowedGiftsSettings
impl Deserializable for DisallowedGiftsSettings
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<DisallowedGiftsSettings> for DisallowedGiftsSettings
impl From<DisallowedGiftsSettings> for DisallowedGiftsSettings
Source§fn from(x: DisallowedGiftsSettings) -> Self
fn from(x: DisallowedGiftsSettings) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DisallowedGiftsSettings
impl PartialEq for DisallowedGiftsSettings
Source§impl TryFrom<DisallowedGiftsSettings> for DisallowedGiftsSettings
impl TryFrom<DisallowedGiftsSettings> for DisallowedGiftsSettings
Source§type Error = DisallowedGiftsSettings
type Error = DisallowedGiftsSettings
The type returned in the event of a conversion error.
impl StructuralPartialEq for DisallowedGiftsSettings
Auto Trait Implementations§
impl Freeze for DisallowedGiftsSettings
impl RefUnwindSafe for DisallowedGiftsSettings
impl Send for DisallowedGiftsSettings
impl Sync for DisallowedGiftsSettings
impl Unpin for DisallowedGiftsSettings
impl UnsafeUnpin for DisallowedGiftsSettings
impl UnwindSafe for DisallowedGiftsSettings
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