pub struct ClientCollection {
pub clients: Vec<Client>,
pub pagination: Option<Box<Pagination>>,
pub links: Box<CollectionLinks>,
}Expand description
ClientCollection : The collection of a list of clients
Fields§
§clients: Vec<Client>A list of clients
pagination: Option<Box<Pagination>>§links: Box<CollectionLinks>Implementations§
Source§impl ClientCollection
impl ClientCollection
Sourcepub fn new(clients: Vec<Client>, links: CollectionLinks) -> ClientCollection
pub fn new(clients: Vec<Client>, links: CollectionLinks) -> ClientCollection
The collection of a list of clients
Trait Implementations§
Source§impl Clone for ClientCollection
impl Clone for ClientCollection
Source§fn clone(&self) -> ClientCollection
fn clone(&self) -> ClientCollection
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 ClientCollection
impl Debug for ClientCollection
Source§impl Default for ClientCollection
impl Default for ClientCollection
Source§fn default() -> ClientCollection
fn default() -> ClientCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientCollection
impl<'de> Deserialize<'de> for ClientCollection
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 ClientCollection
impl PartialEq for ClientCollection
Source§impl Serialize for ClientCollection
impl Serialize for ClientCollection
impl StructuralPartialEq for ClientCollection
Auto Trait Implementations§
impl Freeze for ClientCollection
impl RefUnwindSafe for ClientCollection
impl Send for ClientCollection
impl Sync for ClientCollection
impl Unpin for ClientCollection
impl UnwindSafe for ClientCollection
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