Struct kafka_protocol::messages::fetch_response::SnapshotIdBuilder
source · pub struct SnapshotIdBuilder { /* private fields */ }
Expand description
Builder for SnapshotId
.
Implementations§
source§impl SnapshotIdBuilder
impl SnapshotIdBuilder
sourcepub fn end_offset(&mut self, value: i64) -> &mut Self
pub fn end_offset(&mut self, value: i64) -> &mut Self
Supported API versions: 0-13
sourcepub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Vec<u8>>
) -> &mut Self
pub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Vec<u8>>
) -> &mut Self
Other tagged fields
sourcepub fn build(&self) -> Result<SnapshotId, SnapshotIdBuilderError>
pub fn build(&self) -> Result<SnapshotId, SnapshotIdBuilderError>
Trait Implementations§
source§impl Clone for SnapshotIdBuilder
impl Clone for SnapshotIdBuilder
source§fn clone(&self) -> SnapshotIdBuilder
fn clone(&self) -> SnapshotIdBuilder
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 more