pub struct PostMonitorsBodyMonitorSchedule {
pub cron: Option<String>,
pub timezone: Option<String>,
}
Fields§
§cron: Option<String>
The monitor’s run frequency, based on the given cron pattern. At this time you can only create monitors with limited schedules. For information about the available schedules, see our Postman Monitors collection.
timezone: Option<String>
The monitor’s timezone.
Trait Implementations§
Source§impl Clone for PostMonitorsBodyMonitorSchedule
impl Clone for PostMonitorsBodyMonitorSchedule
Source§fn clone(&self) -> PostMonitorsBodyMonitorSchedule
fn clone(&self) -> PostMonitorsBodyMonitorSchedule
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<'de> Deserialize<'de> for PostMonitorsBodyMonitorSchedule
impl<'de> Deserialize<'de> for PostMonitorsBodyMonitorSchedule
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 PostMonitorsBodyMonitorSchedule
impl PartialEq for PostMonitorsBodyMonitorSchedule
Source§fn eq(&self, other: &PostMonitorsBodyMonitorSchedule) -> bool
fn eq(&self, other: &PostMonitorsBodyMonitorSchedule) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PostMonitorsBodyMonitorSchedule
Auto Trait Implementations§
impl Freeze for PostMonitorsBodyMonitorSchedule
impl RefUnwindSafe for PostMonitorsBodyMonitorSchedule
impl Send for PostMonitorsBodyMonitorSchedule
impl Sync for PostMonitorsBodyMonitorSchedule
impl Unpin for PostMonitorsBodyMonitorSchedule
impl UnwindSafe for PostMonitorsBodyMonitorSchedule
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