pub struct ExistingDisk {
pub attachment: Option<DiskAttachment>,
pub source: Option<String>,
}Expand description
A pre-existing persistent disk that will be attached to every Replica in the Pool.
This type is not used in any activity, and only used as part of another schema.
Fields§
§attachment: Option<DiskAttachment>Optional. How the disk will be attached to the Replica.
source: Option<String>The fully-qualified URL of the Persistent Disk resource. It must be in the same zone as the Pool.
Trait Implementations§
Source§impl Clone for ExistingDisk
impl Clone for ExistingDisk
Source§fn clone(&self) -> ExistingDisk
fn clone(&self) -> ExistingDisk
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 ExistingDisk
impl Debug for ExistingDisk
Source§impl Default for ExistingDisk
impl Default for ExistingDisk
Source§fn default() -> ExistingDisk
fn default() -> ExistingDisk
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExistingDisk
impl<'de> Deserialize<'de> for ExistingDisk
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 Serialize for ExistingDisk
impl Serialize for ExistingDisk
impl Part for ExistingDisk
Auto Trait Implementations§
impl Freeze for ExistingDisk
impl RefUnwindSafe for ExistingDisk
impl Send for ExistingDisk
impl Sync for ExistingDisk
impl Unpin for ExistingDisk
impl UnwindSafe for ExistingDisk
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