pub struct TimestampingConfig {
pub mode: Option<TimestampingMode>,
pub uncapped: Option<bool>,
}Fields§
§mode: Option<TimestampingMode>Timestamping mode for appends that influences how timestamps are handled.
uncapped: Option<bool>Allow client-specified timestamps to exceed the arrival time.
If this is false or not set, client timestamps will be capped at the arrival time.
Implementations§
Source§impl TimestampingConfig
impl TimestampingConfig
pub fn to_opt(config: OptionalTimestampingConfig) -> Option<Self>
Trait Implementations§
Source§impl Clone for TimestampingConfig
impl Clone for TimestampingConfig
Source§fn clone(&self) -> TimestampingConfig
fn clone(&self) -> TimestampingConfig
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 TimestampingConfig
impl Debug for TimestampingConfig
Source§impl Default for TimestampingConfig
impl Default for TimestampingConfig
Source§fn default() -> TimestampingConfig
fn default() -> TimestampingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimestampingConfig
impl<'de> Deserialize<'de> for TimestampingConfig
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 From<TimestampingConfig> for OptionalTimestampingConfig
impl From<TimestampingConfig> for OptionalTimestampingConfig
Source§fn from(value: TimestampingConfig) -> Self
fn from(value: TimestampingConfig) -> Self
Converts to this type from the input type.
Source§impl From<TimestampingConfig> for TimestampingConfig
impl From<TimestampingConfig> for TimestampingConfig
Source§fn from(value: TimestampingConfig) -> Self
fn from(value: TimestampingConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TimestampingConfig
impl PartialEq for TimestampingConfig
Source§impl Serialize for TimestampingConfig
impl Serialize for TimestampingConfig
impl Eq for TimestampingConfig
impl StructuralPartialEq for TimestampingConfig
Auto Trait Implementations§
impl Freeze for TimestampingConfig
impl RefUnwindSafe for TimestampingConfig
impl Send for TimestampingConfig
impl Sync for TimestampingConfig
impl Unpin for TimestampingConfig
impl UnwindSafe for TimestampingConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more