#[non_exhaustive]pub struct GuestAttributes {
pub kind: Option<String>,
pub query_path: Option<String>,
pub query_value: Option<GuestAttributesValue>,
pub self_link: Option<String>,
pub variable_key: Option<String>,
pub variable_value: Option<String>,
/* private fields */
}instances only.Expand description
A guest attributes entry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: Option<String>[Output Only] Type of the resource. Alwayscompute#guestAttributes for guest attributes entry.
query_path: Option<String>The path to be queried. This can be the default namespace (‘’) or a nested namespace (‘/’) or a specified key (’/').
query_value: Option<GuestAttributesValue>[Output Only] The value of the requested queried path.
self_link: Option<String>[Output Only] Server-defined URL for this resource.
variable_key: Option<String>The key to search for.
variable_value: Option<String>[Output Only] The value found for the requested key.
Implementations§
Source§impl GuestAttributes
impl GuestAttributes
pub fn new() -> Self
Sourcepub fn set_or_clear_kind<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_kind<T>(self, v: Option<T>) -> Self
Sets or clears the value of kind.
Sourcepub fn set_query_path<T>(self, v: T) -> Self
pub fn set_query_path<T>(self, v: T) -> Self
Sets the value of query_path.
Sourcepub fn set_or_clear_query_path<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_query_path<T>(self, v: Option<T>) -> Self
Sets or clears the value of query_path.
Sourcepub fn set_query_value<T>(self, v: T) -> Selfwhere
T: Into<GuestAttributesValue>,
pub fn set_query_value<T>(self, v: T) -> Selfwhere
T: Into<GuestAttributesValue>,
Sets the value of query_value.
Sourcepub fn set_or_clear_query_value<T>(self, v: Option<T>) -> Selfwhere
T: Into<GuestAttributesValue>,
pub fn set_or_clear_query_value<T>(self, v: Option<T>) -> Selfwhere
T: Into<GuestAttributesValue>,
Sets or clears the value of query_value.
Sourcepub fn set_self_link<T>(self, v: T) -> Self
pub fn set_self_link<T>(self, v: T) -> Self
Sets the value of self_link.
Sourcepub fn set_or_clear_self_link<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_self_link<T>(self, v: Option<T>) -> Self
Sets or clears the value of self_link.
Sourcepub fn set_variable_key<T>(self, v: T) -> Self
pub fn set_variable_key<T>(self, v: T) -> Self
Sets the value of variable_key.
Sourcepub fn set_or_clear_variable_key<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_variable_key<T>(self, v: Option<T>) -> Self
Sets or clears the value of variable_key.
Sourcepub fn set_variable_value<T>(self, v: T) -> Self
pub fn set_variable_value<T>(self, v: T) -> Self
Sets the value of variable_value.
Sourcepub fn set_or_clear_variable_value<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_variable_value<T>(self, v: Option<T>) -> Self
Sets or clears the value of variable_value.
Trait Implementations§
Source§impl Clone for GuestAttributes
impl Clone for GuestAttributes
Source§fn clone(&self) -> GuestAttributes
fn clone(&self) -> GuestAttributes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more