Struct ehelply::models::company_base::CompanyBase
source · pub struct CompanyBase {
pub name: Option<String>,
pub summary: Option<String>,
pub public: Option<bool>,
pub meta: Option<Value>,
pub contact: Option<Box<ContactBase>>,
}
Expand description
CompanyBase : :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>>
Implementations
sourceimpl CompanyBase
impl CompanyBase
sourcepub fn new() -> CompanyBase
pub fn new() -> CompanyBase
: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 CompanyBase
impl Clone for CompanyBase
sourcefn clone(&self) -> CompanyBase
fn clone(&self) -> CompanyBase
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 CompanyBase
impl Debug for CompanyBase
sourceimpl Default for CompanyBase
impl Default for CompanyBase
sourcefn default() -> CompanyBase
fn default() -> CompanyBase
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CompanyBase
impl<'de> Deserialize<'de> for CompanyBase
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<CompanyBase> for CompanyBase
impl PartialEq<CompanyBase> for CompanyBase
sourcefn eq(&self, other: &CompanyBase) -> bool
fn eq(&self, other: &CompanyBase) -> bool
sourceimpl Serialize for CompanyBase
impl Serialize for CompanyBase
impl StructuralPartialEq for CompanyBase
Auto Trait Implementations
impl RefUnwindSafe for CompanyBase
impl Send for CompanyBase
impl Sync for CompanyBase
impl Unpin for CompanyBase
impl UnwindSafe for CompanyBase
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