pub struct RetentionConsumerBootstrap {
pub consumer_id: String,
pub floor: u64,
pub checksum: u32,
pub checkpoint: Vec<u8>,
pub checkpoint_id: [u8; 16],
pub scope: RetentionFeedScope,
pub codec: String,
pub codec_version: u32,
}Expand description
Opaque external-consumer bootstrap at an effective floor.
Fields§
§consumer_id: StringStable durable consumer identifier.
floor: u64Effective floor for which the checkpoint was created.
checksum: u32CRC32C of checkpoint.
checkpoint: Vec<u8>Opaque consumer bytes; the engine never interprets them.
checkpoint_id: [u8; 16]Stable identity used when fetching this checkpoint.
scope: RetentionFeedScopeExact feed scope for which this checkpoint is valid.
codec: StringApplication-defined checkpoint codec identifier.
codec_version: u32Application-defined checkpoint codec version.
Trait Implementations§
Source§impl Clone for RetentionConsumerBootstrap
impl Clone for RetentionConsumerBootstrap
Source§fn clone(&self) -> RetentionConsumerBootstrap
fn clone(&self) -> RetentionConsumerBootstrap
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 RetentionConsumerBootstrap
impl Debug for RetentionConsumerBootstrap
Source§impl<'de> Deserialize<'de> for RetentionConsumerBootstrap
impl<'de> Deserialize<'de> for RetentionConsumerBootstrap
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 Eq for RetentionConsumerBootstrap
impl StructuralPartialEq for RetentionConsumerBootstrap
Auto Trait Implementations§
impl Freeze for RetentionConsumerBootstrap
impl RefUnwindSafe for RetentionConsumerBootstrap
impl Send for RetentionConsumerBootstrap
impl Sync for RetentionConsumerBootstrap
impl Unpin for RetentionConsumerBootstrap
impl UnsafeUnpin for RetentionConsumerBootstrap
impl UnwindSafe for RetentionConsumerBootstrap
Blanket Implementations§
impl<T> Body for T
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