pub struct OgrSourceTimeFormatCustom {
pub custom_format: String,
pub format: Format,
}Fields§
§custom_format: String§format: FormatImplementations§
Source§impl OgrSourceTimeFormatCustom
impl OgrSourceTimeFormatCustom
pub fn new(custom_format: String, format: Format) -> OgrSourceTimeFormatCustom
Trait Implementations§
Source§impl Clone for OgrSourceTimeFormatCustom
impl Clone for OgrSourceTimeFormatCustom
Source§fn clone(&self) -> OgrSourceTimeFormatCustom
fn clone(&self) -> OgrSourceTimeFormatCustom
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OgrSourceTimeFormatCustom
impl Debug for OgrSourceTimeFormatCustom
Source§impl Default for OgrSourceTimeFormatCustom
impl Default for OgrSourceTimeFormatCustom
Source§fn default() -> OgrSourceTimeFormatCustom
fn default() -> OgrSourceTimeFormatCustom
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OgrSourceTimeFormatCustom
impl<'de> Deserialize<'de> for OgrSourceTimeFormatCustom
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 OgrSourceTimeFormatCustom
impl PartialEq for OgrSourceTimeFormatCustom
Source§fn eq(&self, other: &OgrSourceTimeFormatCustom) -> bool
fn eq(&self, other: &OgrSourceTimeFormatCustom) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OgrSourceTimeFormatCustom
Auto Trait Implementations§
impl Freeze for OgrSourceTimeFormatCustom
impl RefUnwindSafe for OgrSourceTimeFormatCustom
impl Send for OgrSourceTimeFormatCustom
impl Sync for OgrSourceTimeFormatCustom
impl Unpin for OgrSourceTimeFormatCustom
impl UnsafeUnpin for OgrSourceTimeFormatCustom
impl UnwindSafe for OgrSourceTimeFormatCustom
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