pub struct BookingService {
pub name: String,
pub duration: Option<String>,
pub price: Option<String>,
}Expand description
A bookable service in a Booking block (e.g. “60-min Strategy Call”).
Fields§
§name: String§duration: Option<String>Free-text duration (e.g. “60 min”). Optional.
price: Option<String>Free-text price (e.g. “$120”, “Free”). Optional.
Trait Implementations§
Source§impl Clone for BookingService
impl Clone for BookingService
Source§fn clone(&self) -> BookingService
fn clone(&self) -> BookingService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BookingService
impl Debug for BookingService
Source§impl<'de> Deserialize<'de> for BookingService
impl<'de> Deserialize<'de> for BookingService
Source§fn 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
Auto Trait Implementations§
impl Freeze for BookingService
impl RefUnwindSafe for BookingService
impl Send for BookingService
impl Sync for BookingService
impl Unpin for BookingService
impl UnsafeUnpin for BookingService
impl UnwindSafe for BookingService
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