pub struct UserAutocompleteInChannel {
pub in_channel: Option<Vec<User>>,
pub out_of_channel: Option<Vec<User>>,
}
Fields§
§in_channel: Option<Vec<User>>
A list of user objects in the channel
out_of_channel: Option<Vec<User>>
A list of user objects not in the channel
Implementations§
Source§impl UserAutocompleteInChannel
impl UserAutocompleteInChannel
pub fn new() -> UserAutocompleteInChannel
Trait Implementations§
Source§impl Clone for UserAutocompleteInChannel
impl Clone for UserAutocompleteInChannel
Source§fn clone(&self) -> UserAutocompleteInChannel
fn clone(&self) -> UserAutocompleteInChannel
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UserAutocompleteInChannel
impl Debug for UserAutocompleteInChannel
Source§impl Default for UserAutocompleteInChannel
impl Default for UserAutocompleteInChannel
Source§fn default() -> UserAutocompleteInChannel
fn default() -> UserAutocompleteInChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserAutocompleteInChannel
impl<'de> Deserialize<'de> for UserAutocompleteInChannel
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
impl StructuralPartialEq for UserAutocompleteInChannel
Auto Trait Implementations§
impl Freeze for UserAutocompleteInChannel
impl RefUnwindSafe for UserAutocompleteInChannel
impl Send for UserAutocompleteInChannel
impl Sync for UserAutocompleteInChannel
impl Unpin for UserAutocompleteInChannel
impl UnwindSafe for UserAutocompleteInChannel
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