Struct pravega_client_shared::TxnSegments
source · pub struct TxnSegments {
pub stream_segments: StreamSegments,
pub tx_id: TxId,
}
Fields§
§stream_segments: StreamSegments
§tx_id: TxId
Implementations§
source§impl TxnSegments
impl TxnSegments
sourcepub fn new(stream_segments: StreamSegments, tx_id: TxId) -> Self
pub fn new(stream_segments: StreamSegments, tx_id: TxId) -> Self
Constructs a new TxnSegments
.
Trait Implementations§
source§impl Clone for TxnSegments
impl Clone for TxnSegments
source§fn clone(&self) -> TxnSegments
fn clone(&self) -> TxnSegments
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 TxnSegments
impl Debug for TxnSegments
source§impl Hash for TxnSegments
impl Hash for TxnSegments
source§impl PartialEq for TxnSegments
impl PartialEq for TxnSegments
source§fn eq(&self, other: &TxnSegments) -> bool
fn eq(&self, other: &TxnSegments) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TxnSegments
impl StructuralPartialEq for TxnSegments
Auto Trait Implementations§
impl RefUnwindSafe for TxnSegments
impl Send for TxnSegments
impl Sync for TxnSegments
impl Unpin for TxnSegments
impl UnwindSafe for TxnSegments
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