pub struct ListCompaniesResponse {
pub items: Vec<Company>,
pub companies: Option<Vec<Company>>,
pub total: Option<i64>,
}Expand description
ListCompaniesResponse model.
Fields§
§items: Vec<Company>§companies: Option<Vec<Company>>Legacy alias for items. Will be removed in API v1.x.
total: Option<i64>Trait Implementations§
Source§impl Clone for ListCompaniesResponse
impl Clone for ListCompaniesResponse
Source§fn clone(&self) -> ListCompaniesResponse
fn clone(&self) -> ListCompaniesResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListCompaniesResponse
impl Debug for ListCompaniesResponse
Source§impl Default for ListCompaniesResponse
impl Default for ListCompaniesResponse
Source§fn default() -> ListCompaniesResponse
fn default() -> ListCompaniesResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListCompaniesResponse
impl<'de> Deserialize<'de> for ListCompaniesResponse
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 ListCompaniesResponse
impl PartialEq for ListCompaniesResponse
Source§impl Serialize for ListCompaniesResponse
impl Serialize for ListCompaniesResponse
impl StructuralPartialEq for ListCompaniesResponse
Auto Trait Implementations§
impl Freeze for ListCompaniesResponse
impl RefUnwindSafe for ListCompaniesResponse
impl Send for ListCompaniesResponse
impl Sync for ListCompaniesResponse
impl Unpin for ListCompaniesResponse
impl UnsafeUnpin for ListCompaniesResponse
impl UnwindSafe for ListCompaniesResponse
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