Struct nektar::PartitionSpecWithSharedSD
source · pub struct PartitionSpecWithSharedSD {
pub partitions: Option<Vec<PartitionWithoutSD>>,
pub sd: Option<StorageDescriptor>,
}Fields§
§partitions: Option<Vec<PartitionWithoutSD>>§sd: Option<StorageDescriptor>Implementations§
pub fn new<F1, F2>(partitions: F1, sd: F2) -> PartitionSpecWithSharedSD
Trait Implementations§
source§fn clone(&self) -> PartitionSpecWithSharedSD
fn clone(&self) -> PartitionSpecWithSharedSD
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§fn default() -> PartitionSpecWithSharedSD
fn default() -> PartitionSpecWithSharedSD
Returns the “default value” for a type. Read more
source§fn cmp(&self, other: &PartitionSpecWithSharedSD) -> Ordering
fn cmp(&self, other: &PartitionSpecWithSharedSD) -> Ordering
1.21.0 · 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
source§fn eq(&self, other: &PartitionSpecWithSharedSD) -> bool
fn eq(&self, other: &PartitionSpecWithSharedSD) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§fn partial_cmp(&self, other: &PartitionSpecWithSharedSD) -> Option<Ordering>
fn partial_cmp(&self, other: &PartitionSpecWithSharedSD) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read morefn read_from_in_protocol( i_prot: &mut dyn TInputProtocol ) -> Result<PartitionSpecWithSharedSD>
fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> Result<()>
Auto Trait Implementations§
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