pub struct GetAllUsersResponse {
pub metadata: Option<SearchMetadata>,
pub items: Vec<User>,
}Fields§
§metadata: Option<SearchMetadata>§items: Vec<User>Implementations§
Source§impl GetAllUsersResponse
impl GetAllUsersResponse
pub fn new(items: Vec<User>) -> GetAllUsersResponse
Trait Implementations§
Source§impl Clone for GetAllUsersResponse
impl Clone for GetAllUsersResponse
Source§fn clone(&self) -> GetAllUsersResponse
fn clone(&self) -> GetAllUsersResponse
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 GetAllUsersResponse
impl Debug for GetAllUsersResponse
Source§impl<'de> Deserialize<'de> for GetAllUsersResponse
impl<'de> Deserialize<'de> for GetAllUsersResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetAllUsersResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetAllUsersResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetAllUsersResponse
impl PartialEq for GetAllUsersResponse
Source§impl Serialize for GetAllUsersResponse
impl Serialize for GetAllUsersResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetAllUsersResponse
Auto Trait Implementations§
impl Freeze for GetAllUsersResponse
impl RefUnwindSafe for GetAllUsersResponse
impl Send for GetAllUsersResponse
impl Sync for GetAllUsersResponse
impl Unpin for GetAllUsersResponse
impl UnwindSafe for GetAllUsersResponse
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