Struct google_compute1::api::XpnResourceId
source · pub struct XpnResourceId {
pub id: Option<String>,
pub type_: Option<String>,
}
Expand description
Service resource (a.k.a service project) ID.
This type is not used in any activity, and only used as part of another schema.
Fields§
§id: Option<String>
The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678).
type_: Option<String>
The type of the service resource.
Trait Implementations§
source§impl Clone for XpnResourceId
impl Clone for XpnResourceId
source§fn clone(&self) -> XpnResourceId
fn clone(&self) -> XpnResourceId
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§impl Debug for XpnResourceId
impl Debug for XpnResourceId
source§impl Default for XpnResourceId
impl Default for XpnResourceId
source§fn default() -> XpnResourceId
fn default() -> XpnResourceId
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for XpnResourceId
impl<'de> Deserialize<'de> for XpnResourceId
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 XpnResourceId
impl Serialize for XpnResourceId
impl Part for XpnResourceId
Auto Trait Implementations§
impl RefUnwindSafe for XpnResourceId
impl Send for XpnResourceId
impl Sync for XpnResourceId
impl Unpin for XpnResourceId
impl UnwindSafe for XpnResourceId
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