Struct google_compute1::api::ShareSettings
source · pub struct ShareSettings {
pub project_map: Option<HashMap<String, ShareSettingsProjectConfig>>,
pub share_type: Option<String>,
}
Expand description
The share setting for reservations and sole tenancy node groups.
This type is not used in any activity, and only used as part of another schema.
Fields§
§project_map: Option<HashMap<String, ShareSettingsProjectConfig>>
A map of project id and project config. This is only valid when share_type’s value is SPECIFIC_PROJECTS.
Type of sharing for this shared-reservation
Trait Implementations§
source§fn clone(&self) -> ShareSettings
fn clone(&self) -> ShareSettings
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() -> ShareSettings
fn default() -> ShareSettings
Returns the “default value” for a type. Read more
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§
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