pub struct Partition {
pub name: String,
pub pkey: PartitionKey,
pub ipoib: bool,
pub qos: PartitionQoS,
}
Fields§
§name: String
The name of Partition.
pkey: PartitionKey
The pkey of Partition.
ipoib: bool
Default false
qos: PartitionQoS
The QoS of Partition.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Partition
impl<'de> Deserialize<'de> for Partition
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 Partition
impl RefUnwindSafe for Partition
impl Send for Partition
impl Sync for Partition
impl Unpin for Partition
impl UnwindSafe for Partition
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