pub struct DatasetPartitionId {
pub kind: u16,
pub value: Vec<u8>,
}Expand description
Stable, bounded partition selected by a server-owned scope definition.
Fields§
§kind: u16§value: Vec<u8>Implementations§
Source§impl DatasetPartitionId
impl DatasetPartitionId
pub const MAX_VALUE_BYTES: usize = 1_024
Trait Implementations§
Source§impl Clone for DatasetPartitionId
impl Clone for DatasetPartitionId
Source§fn clone(&self) -> DatasetPartitionId
fn clone(&self) -> DatasetPartitionId
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 DatasetPartitionId
impl Debug for DatasetPartitionId
Source§impl<'de> Deserialize<'de> for DatasetPartitionId
impl<'de> Deserialize<'de> for DatasetPartitionId
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 DatasetPartitionId
Source§impl Hash for DatasetPartitionId
impl Hash for DatasetPartitionId
Source§impl Ord for DatasetPartitionId
impl Ord for DatasetPartitionId
Source§fn cmp(&self, other: &DatasetPartitionId) -> Ordering
fn cmp(&self, other: &DatasetPartitionId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DatasetPartitionId
impl PartialEq for DatasetPartitionId
Source§impl PartialOrd for DatasetPartitionId
impl PartialOrd for DatasetPartitionId
Source§impl Serialize for DatasetPartitionId
impl Serialize for DatasetPartitionId
impl StructuralPartialEq for DatasetPartitionId
Auto Trait Implementations§
impl Freeze for DatasetPartitionId
impl RefUnwindSafe for DatasetPartitionId
impl Send for DatasetPartitionId
impl Sync for DatasetPartitionId
impl Unpin for DatasetPartitionId
impl UnsafeUnpin for DatasetPartitionId
impl UnwindSafe for DatasetPartitionId
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