pub struct TimeRangeContext {
pub start_time: Option<String>,
pub end_time: Option<String>,
}Expand description
TimeRangeContext : Additional information related to time range for transaction.
Fields§
§start_time: Option<String>Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
end_time: Option<String>Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
Implementations§
Source§impl TimeRangeContext
impl TimeRangeContext
Sourcepub fn new() -> TimeRangeContext
pub fn new() -> TimeRangeContext
Additional information related to time range for transaction.
Trait Implementations§
Source§impl Clone for TimeRangeContext
impl Clone for TimeRangeContext
Source§fn clone(&self) -> TimeRangeContext
fn clone(&self) -> TimeRangeContext
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 TimeRangeContext
impl Debug for TimeRangeContext
Source§impl Default for TimeRangeContext
impl Default for TimeRangeContext
Source§fn default() -> TimeRangeContext
fn default() -> TimeRangeContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimeRangeContext
impl<'de> Deserialize<'de> for TimeRangeContext
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 TimeRangeContext
impl PartialEq for TimeRangeContext
Source§impl Serialize for TimeRangeContext
impl Serialize for TimeRangeContext
impl StructuralPartialEq for TimeRangeContext
Auto Trait Implementations§
impl Freeze for TimeRangeContext
impl RefUnwindSafe for TimeRangeContext
impl Send for TimeRangeContext
impl Sync for TimeRangeContext
impl Unpin for TimeRangeContext
impl UnwindSafe for TimeRangeContext
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