pub struct BusinessLocation {
pub geo_point: Option<GeoPoint>,
pub address: String,
}Expand description
Generated from:
businessLocation#ac5c1af7 flags:# geo_point:flags.0?GeoPoint address:string = BusinessLocationFields§
§geo_point: Option<GeoPoint>§address: StringTrait Implementations§
Source§impl Clone for BusinessLocation
impl Clone for BusinessLocation
Source§fn clone(&self) -> BusinessLocation
fn clone(&self) -> BusinessLocation
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 BusinessLocation
impl Debug for BusinessLocation
Source§impl Deserializable for BusinessLocation
impl Deserializable for BusinessLocation
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<BusinessLocation> for BusinessLocation
impl From<BusinessLocation> for BusinessLocation
Source§fn from(x: BusinessLocation) -> Self
fn from(x: BusinessLocation) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BusinessLocation
impl Identifiable for BusinessLocation
Source§const CONSTRUCTOR_ID: u32 = 0xac5c1af7
const CONSTRUCTOR_ID: u32 = 0xac5c1af7
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BusinessLocation
impl PartialEq for BusinessLocation
Source§impl Serializable for BusinessLocation
impl Serializable for BusinessLocation
Source§impl TryFrom<BusinessLocation> for BusinessLocation
impl TryFrom<BusinessLocation> for BusinessLocation
Source§type Error = BusinessLocation
type Error = BusinessLocation
The type returned in the event of a conversion error.
impl StructuralPartialEq for BusinessLocation
Auto Trait Implementations§
impl Freeze for BusinessLocation
impl RefUnwindSafe for BusinessLocation
impl Send for BusinessLocation
impl Sync for BusinessLocation
impl Unpin for BusinessLocation
impl UnsafeUnpin for BusinessLocation
impl UnwindSafe for BusinessLocation
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