Struct ehelply::models::place_base::PlaceBase
source · pub struct PlaceBase {
pub name: String,
pub summary: Option<String>,
pub public: Option<bool>,
pub meta: Option<Value>,
pub addresses: Option<Vec<AddressBase>>,
pub contact: Option<Box<ContactBase>>,
pub picture: Option<String>,
}
Expand description
PlaceBase : :param name type: string :param summary type: string or None :param public type: bool or None :param meta type: dict or None :param addresses type: PlaceAddress or None :param contact type: ContactBase or None
Fields
name: String
summary: Option<String>
public: Option<bool>
meta: Option<Value>
addresses: Option<Vec<AddressBase>>
contact: Option<Box<ContactBase>>
picture: Option<String>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for PlaceBase
impl<'de> Deserialize<'de> for PlaceBase
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
impl StructuralPartialEq for PlaceBase
Auto Trait Implementations
impl RefUnwindSafe for PlaceBase
impl Send for PlaceBase
impl Sync for PlaceBase
impl Unpin for PlaceBase
impl UnwindSafe for PlaceBase
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