pub enum WithheldScope<'a> {
Status,
User,
Custom(Cow<'a, str>),
}Expand description
Represents the withheld_scope field in Tweet and User.
Variants§
Trait Implementations§
Source§impl<'a> AsRef<str> for WithheldScope<'a>
impl<'a> AsRef<str> for WithheldScope<'a>
Source§impl<'a> Clone for WithheldScope<'a>
impl<'a> Clone for WithheldScope<'a>
Source§fn clone(&self) -> WithheldScope<'a>
fn clone(&self) -> WithheldScope<'a>
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<'a> Debug for WithheldScope<'a>
impl<'a> Debug for WithheldScope<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for WithheldScope<'a>
impl<'de: 'a, 'a> Deserialize<'de> for WithheldScope<'a>
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> Hash for WithheldScope<'a>
impl<'a> Hash for WithheldScope<'a>
Source§impl<'a> PartialEq for WithheldScope<'a>
impl<'a> PartialEq for WithheldScope<'a>
impl<'a> Eq for WithheldScope<'a>
Auto Trait Implementations§
impl<'a> Freeze for WithheldScope<'a>
impl<'a> RefUnwindSafe for WithheldScope<'a>
impl<'a> Send for WithheldScope<'a>
impl<'a> Sync for WithheldScope<'a>
impl<'a> Unpin for WithheldScope<'a>
impl<'a> UnwindSafe for WithheldScope<'a>
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