Struct ehelply::models::company_response::CompanyResponse
source · pub struct CompanyResponse {Show 14 fields
pub name: Option<String>,
pub summary: Option<String>,
pub public: Option<bool>,
pub meta: Option<Value>,
pub contact: Option<Box<ContactBase>>,
pub uuid: String,
pub project_uuid: Option<String>,
pub meta_uuid: Option<String>,
pub tags: Option<Vec<TagBase>>,
pub categories: Option<Vec<CategoryBase>>,
pub places: Option<Vec<PlaceBase>>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub deleted_at: Option<String>,
}
Expand description
CompanyResponse : :param name type: string :param summary type: string or None :param public type: bool or None :param meta type: dict or None :param contact type: ContactBase or None
Fields
name: Option<String>
summary: Option<String>
public: Option<bool>
meta: Option<Value>
contact: Option<Box<ContactBase>>
uuid: String
project_uuid: Option<String>
meta_uuid: Option<String>
categories: Option<Vec<CategoryBase>>
places: Option<Vec<PlaceBase>>
created_at: Option<String>
updated_at: Option<String>
deleted_at: Option<String>
Implementations
sourceimpl CompanyResponse
impl CompanyResponse
sourcepub fn new(uuid: String) -> CompanyResponse
pub fn new(uuid: String) -> CompanyResponse
:param name type: string :param summary type: string or None :param public type: bool or None :param meta type: dict or None :param contact type: ContactBase or None
Trait Implementations
sourceimpl Clone for CompanyResponse
impl Clone for CompanyResponse
sourcefn clone(&self) -> CompanyResponse
fn clone(&self) -> CompanyResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CompanyResponse
impl Debug for CompanyResponse
sourceimpl Default for CompanyResponse
impl Default for CompanyResponse
sourcefn default() -> CompanyResponse
fn default() -> CompanyResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CompanyResponse
impl<'de> Deserialize<'de> for CompanyResponse
sourcefn 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
sourceimpl PartialEq<CompanyResponse> for CompanyResponse
impl PartialEq<CompanyResponse> for CompanyResponse
sourcefn eq(&self, other: &CompanyResponse) -> bool
fn eq(&self, other: &CompanyResponse) -> bool
sourceimpl Serialize for CompanyResponse
impl Serialize for CompanyResponse
impl StructuralPartialEq for CompanyResponse
Auto Trait Implementations
impl RefUnwindSafe for CompanyResponse
impl Send for CompanyResponse
impl Sync for CompanyResponse
impl Unpin for CompanyResponse
impl UnwindSafe for CompanyResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more