pub struct AccessMode {
pub block_volume: Option<Value>,
pub mount_volume: Option<Box<TypeMount>>,
pub scope: Option<String>,
pub sharing: Option<String>,
}
Fields§
§block_volume: Option<Value>
Intentionally empty.
mount_volume: Option<Box<TypeMount>>
§scope: Option<String>
Scope defines the Scope of a Cluster Volume. This is how many nodes a Volume can be accessed simultaneously on.
sharing: Option<String>
SharingMode defines the Sharing of a Cluster Volume. This is how Tasks using a Volume at the same time can use it.
Implementations§
Source§impl AccessMode
impl AccessMode
pub fn new() -> AccessMode
Trait Implementations§
Source§impl Clone for AccessMode
impl Clone for AccessMode
Source§fn clone(&self) -> AccessMode
fn clone(&self) -> AccessMode
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 AccessMode
impl Debug for AccessMode
Source§impl Default for AccessMode
impl Default for AccessMode
Source§fn default() -> AccessMode
fn default() -> AccessMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccessMode
impl<'de> Deserialize<'de> for AccessMode
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
Source§impl PartialEq for AccessMode
impl PartialEq for AccessMode
Source§impl Serialize for AccessMode
impl Serialize for AccessMode
impl StructuralPartialEq for AccessMode
Auto Trait Implementations§
impl Freeze for AccessMode
impl RefUnwindSafe for AccessMode
impl Send for AccessMode
impl Sync for AccessMode
impl Unpin for AccessMode
impl UnwindSafe for AccessMode
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