#[non_exhaustive]pub struct XpnResourceId {
pub id: Option<String>,
pub type: Option<Type>,
/* private fields */
}Available on crate feature
projects only.Expand description
Service resource (a.k.a service project) ID.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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<Type>The type of the service resource.
Implementations§
Source§impl XpnResourceId
impl XpnResourceId
Trait Implementations§
Source§impl Clone for XpnResourceId
impl Clone for XpnResourceId
Source§fn clone(&self) -> XpnResourceId
fn clone(&self) -> XpnResourceId
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 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 Message for XpnResourceId
impl Message for XpnResourceId
Source§impl PartialEq for XpnResourceId
impl PartialEq for XpnResourceId
impl StructuralPartialEq for XpnResourceId
Auto Trait Implementations§
impl Freeze for XpnResourceId
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