pub struct DataPartition {
pub partition_id: u64,
pub start_key: Vec<u8>,
pub end_key: Vec<u8>,
pub primary_node: String,
pub replica_nodes: Vec<String>,
pub version: u64,
pub last_modified: DateTime<Utc>,
pub message_count: u64,
pub size_bytes: u64,
}Expand description
Data partition information
Fields§
§partition_id: u64§start_key: Vec<u8>§end_key: Vec<u8>§primary_node: String§replica_nodes: Vec<String>§version: u64§last_modified: DateTime<Utc>§message_count: u64§size_bytes: u64Trait Implementations§
Source§impl Clone for DataPartition
impl Clone for DataPartition
Source§fn clone(&self) -> DataPartition
fn clone(&self) -> DataPartition
Returns a duplicate 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 DataPartition
impl Debug for DataPartition
Source§impl<'de> Deserialize<'de> for DataPartition
impl<'de> Deserialize<'de> for DataPartition
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
Auto Trait Implementations§
impl Freeze for DataPartition
impl RefUnwindSafe for DataPartition
impl Send for DataPartition
impl Sync for DataPartition
impl Unpin for DataPartition
impl UnwindSafe for DataPartition
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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