Struct google_compute1::api::Tags
source · pub struct Tags {
pub fingerprint: Option<Vec<u8>>,
pub items: Option<Vec<String>>,
}
Expand description
A set of instance tags.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- set tags instances (request)
Fields§
§fingerprint: Option<Vec<u8>>
Specifies a fingerprint for this request, which is essentially a hash of the tags’ contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.
items: Option<Vec<String>>
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Tags
impl<'de> Deserialize<'de> for Tags
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 RequestValue for Tags
Auto Trait Implementations§
impl RefUnwindSafe for Tags
impl Send for Tags
impl Sync for Tags
impl Unpin for Tags
impl UnwindSafe for Tags
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