pub struct PageVerificationDate {
pub start: Option<DateOrDateTime>,
pub end: Option<DateOrDateTime>,
pub time_zone: Option<String>,
}
Fields§
§start: Option<DateOrDateTime>
A date, with an optional time.
end: Option<DateOrDateTime>
A string representing the end of a date range. If the value is null, then the date value is not a range.
time_zone: Option<String>
Always null
. The time zone is already included in the formats of start and end times.
Implementations§
Source§impl PageVerificationDate
impl PageVerificationDate
Sourcepub fn start(self, start: DateOrDateTime) -> Self
pub fn start(self, start: DateOrDateTime) -> Self
Set the value of the start
field.
A date, with an optional time.
Sourcepub fn end(self, end: DateOrDateTime) -> Self
pub fn end(self, end: DateOrDateTime) -> Self
Set the value of the end
field.
A string representing the end of a date range. If the value is null, then the date value is not a range.
Trait Implementations§
Source§impl Clone for PageVerificationDate
impl Clone for PageVerificationDate
Source§fn clone(&self) -> PageVerificationDate
fn clone(&self) -> PageVerificationDate
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 PageVerificationDate
impl Debug for PageVerificationDate
Source§impl Default for PageVerificationDate
impl Default for PageVerificationDate
Source§fn default() -> PageVerificationDate
fn default() -> PageVerificationDate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PageVerificationDate
impl<'de> Deserialize<'de> for PageVerificationDate
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 PageVerificationDate
impl PartialEq for PageVerificationDate
Source§impl Serialize for PageVerificationDate
impl Serialize for PageVerificationDate
impl StructuralPartialEq for PageVerificationDate
Auto Trait Implementations§
impl Freeze for PageVerificationDate
impl RefUnwindSafe for PageVerificationDate
impl Send for PageVerificationDate
impl Sync for PageVerificationDate
impl Unpin for PageVerificationDate
impl UnwindSafe for PageVerificationDate
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