#[non_exhaustive]pub struct WritableTxnMarkerResult {
    pub producer_id: ProducerId,
    pub topics: Vec<WritableTxnMarkerTopicResult>,
    pub unknown_tagged_fields: BTreeMap<i32, Bytes>,
}Expand description
Valid versions: 0-1
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.producer_id: ProducerIdThe current producer ID in use by the transactional ID.
Supported API versions: 0-1
topics: Vec<WritableTxnMarkerTopicResult>The results by topic.
Supported API versions: 0-1
unknown_tagged_fields: BTreeMap<i32, Bytes>Other tagged fields
Implementations§
Source§impl WritableTxnMarkerResult
 
impl WritableTxnMarkerResult
Sourcepub fn with_producer_id(self, value: ProducerId) -> Self
 
pub fn with_producer_id(self, value: ProducerId) -> Self
Sets producer_id to the passed value.
The current producer ID in use by the transactional ID.
Supported API versions: 0-1
Sourcepub fn with_topics(self, value: Vec<WritableTxnMarkerTopicResult>) -> Self
 
pub fn with_topics(self, value: Vec<WritableTxnMarkerTopicResult>) -> Self
Sets topics to the passed value.
The results by topic.
Supported API versions: 0-1
Sourcepub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
 
pub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
Sets unknown_tagged_fields to the passed value.
Sourcepub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
 
pub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
Inserts an entry into unknown_tagged_fields.
Trait Implementations§
Source§impl Clone for WritableTxnMarkerResult
 
impl Clone for WritableTxnMarkerResult
Source§fn clone(&self) -> WritableTxnMarkerResult
 
fn clone(&self) -> WritableTxnMarkerResult
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 WritableTxnMarkerResult
 
impl Debug for WritableTxnMarkerResult
Source§impl Decodable for WritableTxnMarkerResult
Available on crate feature client only. 
impl Decodable for WritableTxnMarkerResult
Available on crate feature 
client only.Source§impl Default for WritableTxnMarkerResult
 
impl Default for WritableTxnMarkerResult
Source§impl Encodable for WritableTxnMarkerResult
Available on crate feature broker only. 
impl Encodable for WritableTxnMarkerResult
Available on crate feature 
broker only.Source§impl Message for WritableTxnMarkerResult
 
impl Message for WritableTxnMarkerResult
Source§const VERSIONS: VersionRange = _
 
const VERSIONS: VersionRange = _
The valid versions for this message.
Source§const DEPRECATED_VERSIONS: Option<VersionRange> = None
 
const DEPRECATED_VERSIONS: Option<VersionRange> = None
The deprecated versions for this message.
Source§impl PartialEq for WritableTxnMarkerResult
 
impl PartialEq for WritableTxnMarkerResult
impl StructuralPartialEq for WritableTxnMarkerResult
Auto Trait Implementations§
impl Freeze for WritableTxnMarkerResult
impl RefUnwindSafe for WritableTxnMarkerResult
impl Send for WritableTxnMarkerResult
impl Sync for WritableTxnMarkerResult
impl Unpin for WritableTxnMarkerResult
impl UnwindSafe for WritableTxnMarkerResult
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