pub struct BusinessWorkHours {
pub open_now: bool,
pub timezone_id: String,
pub weekly_open: Vec<BusinessWeeklyOpen>,
}Expand description
Generated from:
businessWorkHours#8c92b098 flags:# open_now:flags.0?true timezone_id:string weekly_open:Vector<BusinessWeeklyOpen> = BusinessWorkHoursFields§
§open_now: bool§timezone_id: String§weekly_open: Vec<BusinessWeeklyOpen>Trait Implementations§
Source§impl Clone for BusinessWorkHours
impl Clone for BusinessWorkHours
Source§fn clone(&self) -> BusinessWorkHours
fn clone(&self) -> BusinessWorkHours
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 BusinessWorkHours
impl Debug for BusinessWorkHours
Source§impl Deserializable for BusinessWorkHours
impl Deserializable for BusinessWorkHours
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<BusinessWorkHours> for BusinessWorkHours
impl From<BusinessWorkHours> for BusinessWorkHours
Source§fn from(x: BusinessWorkHours) -> Self
fn from(x: BusinessWorkHours) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BusinessWorkHours
impl Identifiable for BusinessWorkHours
Source§const CONSTRUCTOR_ID: u32 = 0x8c92b098
const CONSTRUCTOR_ID: u32 = 0x8c92b098
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BusinessWorkHours
impl PartialEq for BusinessWorkHours
Source§impl Serializable for BusinessWorkHours
impl Serializable for BusinessWorkHours
Source§impl TryFrom<BusinessWorkHours> for BusinessWorkHours
impl TryFrom<BusinessWorkHours> for BusinessWorkHours
Source§type Error = BusinessWorkHours
type Error = BusinessWorkHours
The type returned in the event of a conversion error.
impl StructuralPartialEq for BusinessWorkHours
Auto Trait Implementations§
impl Freeze for BusinessWorkHours
impl RefUnwindSafe for BusinessWorkHours
impl Send for BusinessWorkHours
impl Sync for BusinessWorkHours
impl Unpin for BusinessWorkHours
impl UnsafeUnpin for BusinessWorkHours
impl UnwindSafe for BusinessWorkHours
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