pub struct NoSkipUsersShared {
pub request_id: i64,
pub users: Vec<SharedUser>,
}Expand description
Companion type to UsersShared that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Fields§
§request_id: i64Identifier of the request
users: Vec<SharedUser>Information about users shared with the bot.
Implementations§
pub fn skip(self) -> UsersShared
Trait Implementations§
Source§fn clone(&self) -> NoSkipUsersShared
fn clone(&self) -> NoSkipUsersShared
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§fn default() -> NoSkipUsersShared
fn default() -> NoSkipUsersShared
Returns the “default value” for a type. Read more
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§fn from(t: NoSkipUsersShared) -> Self
fn from(t: NoSkipUsersShared) -> Self
Converts to this type from the input type.
Source§fn into(self) -> NoSkipUsersShared
fn into(self) -> NoSkipUsersShared
Converts this type into the (usually inferred) input type.
Source§fn cmp(&self, other: &NoSkipUsersShared) -> Ordering
fn cmp(&self, other: &NoSkipUsersShared) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Auto Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.