pub struct SearchUsersSectionedResponse {
pub status: ApiStatus,
pub sections: Vec<UserSearchSectionResult>,
}Fields§
§status: ApiStatus§sections: Vec<UserSearchSectionResult>Implementations§
Source§impl SearchUsersSectionedResponse
impl SearchUsersSectionedResponse
pub fn new( status: ApiStatus, sections: Vec<UserSearchSectionResult>, ) -> SearchUsersSectionedResponse
Trait Implementations§
Source§impl Clone for SearchUsersSectionedResponse
impl Clone for SearchUsersSectionedResponse
Source§fn clone(&self) -> SearchUsersSectionedResponse
fn clone(&self) -> SearchUsersSectionedResponse
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 Debug for SearchUsersSectionedResponse
impl Debug for SearchUsersSectionedResponse
Source§impl Default for SearchUsersSectionedResponse
impl Default for SearchUsersSectionedResponse
Source§fn default() -> SearchUsersSectionedResponse
fn default() -> SearchUsersSectionedResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchUsersSectionedResponse
impl<'de> Deserialize<'de> for SearchUsersSectionedResponse
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 PartialEq for SearchUsersSectionedResponse
impl PartialEq for SearchUsersSectionedResponse
Source§fn eq(&self, other: &SearchUsersSectionedResponse) -> bool
fn eq(&self, other: &SearchUsersSectionedResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SearchUsersSectionedResponse
Auto Trait Implementations§
impl Freeze for SearchUsersSectionedResponse
impl RefUnwindSafe for SearchUsersSectionedResponse
impl Send for SearchUsersSectionedResponse
impl Sync for SearchUsersSectionedResponse
impl Unpin for SearchUsersSectionedResponse
impl UnsafeUnpin for SearchUsersSectionedResponse
impl UnwindSafe for SearchUsersSectionedResponse
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