Enum vkrs::gifts::GiftPrivacy
source · pub enum GiftPrivacy {
Pubclic,
SenderNameOnly,
Private,
}
Variants
Pubclic
SenderNameOnly
Private
Trait Implementations
sourceimpl Clone for GiftPrivacy
impl Clone for GiftPrivacy
sourcefn clone(&self) -> GiftPrivacy
fn clone(&self) -> GiftPrivacy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GiftPrivacy
impl Debug for GiftPrivacy
sourceimpl<'de> Deserialize<'de> for GiftPrivacy
impl<'de> Deserialize<'de> for GiftPrivacy
sourcefn deserialize<D: Deserializer<'de>>(d: D) -> Result<GiftPrivacy, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<GiftPrivacy, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GiftPrivacy> for GiftPrivacy
impl PartialEq<GiftPrivacy> for GiftPrivacy
sourcefn eq(&self, other: &GiftPrivacy) -> bool
fn eq(&self, other: &GiftPrivacy) -> bool
impl Copy for GiftPrivacy
impl Eq for GiftPrivacy
impl StructuralEq for GiftPrivacy
impl StructuralPartialEq for GiftPrivacy
Auto Trait Implementations
impl RefUnwindSafe for GiftPrivacy
impl Send for GiftPrivacy
impl Sync for GiftPrivacy
impl Unpin for GiftPrivacy
impl UnwindSafe for GiftPrivacy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.