Struct dora_message::MetadataParameters
source · pub struct MetadataParameters {
pub watermark: u64,
pub deadline: u64,
pub open_telemetry_context: String,
}Fields§
§watermark: u64§deadline: u64§open_telemetry_context: StringImplementations§
source§impl MetadataParameters
impl MetadataParameters
pub fn into_owned(self) -> MetadataParameters
Trait Implementations§
source§impl Clone for MetadataParameters
impl Clone for MetadataParameters
source§fn clone(&self) -> MetadataParameters
fn clone(&self) -> MetadataParameters
Returns a copy 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 MetadataParameters
impl Debug for MetadataParameters
source§impl Default for MetadataParameters
impl Default for MetadataParameters
source§fn default() -> MetadataParameters
fn default() -> MetadataParameters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MetadataParameters
impl<'de> Deserialize<'de> for MetadataParameters
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 MetadataParameters
impl PartialEq for MetadataParameters
source§fn eq(&self, other: &MetadataParameters) -> bool
fn eq(&self, other: &MetadataParameters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MetadataParameters
impl Serialize for MetadataParameters
impl Eq for MetadataParameters
impl StructuralEq for MetadataParameters
impl StructuralPartialEq for MetadataParameters
Auto Trait Implementations§
impl RefUnwindSafe for MetadataParameters
impl Send for MetadataParameters
impl Sync for MetadataParameters
impl Unpin for MetadataParameters
impl UnwindSafe for MetadataParameters
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