pub struct StatusWithheld<'a> {
pub id: StatusId,
pub user_id: UserId,
pub withheld_in_countries: Vec<Cow<'a, str>>,
}Fields§
§id: StatusId§user_id: UserId§withheld_in_countries: Vec<Cow<'a, str>>Trait Implementations§
Source§impl<'a> Clone for StatusWithheld<'a>
impl<'a> Clone for StatusWithheld<'a>
Source§fn clone(&self) -> StatusWithheld<'a>
fn clone(&self) -> StatusWithheld<'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 StatusWithheld<'a>
impl<'a> Debug for StatusWithheld<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for StatusWithheld<'a>
impl<'de: 'a, 'a> Deserialize<'de> for StatusWithheld<'a>
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<'a> Hash for StatusWithheld<'a>
impl<'a> Hash for StatusWithheld<'a>
Source§impl<'a> PartialEq for StatusWithheld<'a>
impl<'a> PartialEq for StatusWithheld<'a>
impl<'a> Eq for StatusWithheld<'a>
impl<'a> StructuralPartialEq for StatusWithheld<'a>
Auto Trait Implementations§
impl<'a> Freeze for StatusWithheld<'a>
impl<'a> RefUnwindSafe for StatusWithheld<'a>
impl<'a> Send for StatusWithheld<'a>
impl<'a> Sync for StatusWithheld<'a>
impl<'a> Unpin for StatusWithheld<'a>
impl<'a> UnwindSafe for StatusWithheld<'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