pub struct OgrSourceDurationSpecValue {
pub granularity: TimeGranularity,
pub step: i32,
pub type: Type,
}Fields§
§granularity: TimeGranularity§step: i32§type: TypeImplementations§
Source§impl OgrSourceDurationSpecValue
impl OgrSourceDurationSpecValue
pub fn new( granularity: TimeGranularity, step: i32, type: Type, ) -> OgrSourceDurationSpecValue
Trait Implementations§
Source§impl Clone for OgrSourceDurationSpecValue
impl Clone for OgrSourceDurationSpecValue
Source§fn clone(&self) -> OgrSourceDurationSpecValue
fn clone(&self) -> OgrSourceDurationSpecValue
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 OgrSourceDurationSpecValue
impl Debug for OgrSourceDurationSpecValue
Source§impl Default for OgrSourceDurationSpecValue
impl Default for OgrSourceDurationSpecValue
Source§fn default() -> OgrSourceDurationSpecValue
fn default() -> OgrSourceDurationSpecValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OgrSourceDurationSpecValue
impl<'de> Deserialize<'de> for OgrSourceDurationSpecValue
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
impl StructuralPartialEq for OgrSourceDurationSpecValue
Auto Trait Implementations§
impl Freeze for OgrSourceDurationSpecValue
impl RefUnwindSafe for OgrSourceDurationSpecValue
impl Send for OgrSourceDurationSpecValue
impl Sync for OgrSourceDurationSpecValue
impl Unpin for OgrSourceDurationSpecValue
impl UnsafeUnpin for OgrSourceDurationSpecValue
impl UnwindSafe for OgrSourceDurationSpecValue
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