Struct google_compute1::api::Reference
source · pub struct Reference {
pub kind: Option<String>,
pub reference_type: Option<String>,
pub referrer: Option<String>,
pub target: Option<String>,
}
Expand description
Represents a reference to a resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§kind: Option<String>
[Output Only] Type of the resource. Always compute#reference for references.
reference_type: Option<String>
A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF
referrer: Option<String>
URL of the resource which refers to the target.
target: Option<String>
URL of the resource to which this reference points.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Reference
impl<'de> Deserialize<'de> for Reference
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
impl Part for Reference
Auto Trait Implementations§
impl RefUnwindSafe for Reference
impl Send for Reference
impl Sync for Reference
impl Unpin for Reference
impl UnwindSafe for Reference
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