pub struct SchedulePlan {
pub earliest_at: String,
pub latest_at: Option<String>,
}
Fields§
§earliest_at: String
This is the ISO 8601 date-time string of the earliest time the call can be scheduled.
latest_at: Option<String>
This is the ISO 8601 date-time string of the latest time the call can be scheduled.
Implementations§
Source§impl SchedulePlan
impl SchedulePlan
pub fn new(earliest_at: String) -> SchedulePlan
Trait Implementations§
Source§impl Clone for SchedulePlan
impl Clone for SchedulePlan
Source§fn clone(&self) -> SchedulePlan
fn clone(&self) -> SchedulePlan
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SchedulePlan
impl Debug for SchedulePlan
Source§impl Default for SchedulePlan
impl Default for SchedulePlan
Source§fn default() -> SchedulePlan
fn default() -> SchedulePlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchedulePlan
impl<'de> Deserialize<'de> for SchedulePlan
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
Source§impl PartialEq for SchedulePlan
impl PartialEq for SchedulePlan
Source§impl Serialize for SchedulePlan
impl Serialize for SchedulePlan
impl StructuralPartialEq for SchedulePlan
Auto Trait Implementations§
impl Freeze for SchedulePlan
impl RefUnwindSafe for SchedulePlan
impl Send for SchedulePlan
impl Sync for SchedulePlan
impl Unpin for SchedulePlan
impl UnwindSafe for SchedulePlan
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