#[non_exhaustive]pub struct GetGuestAttributesRequest {
pub name: String,
pub query_path: String,
pub worker_ids: Vec<String>,
/* private fields */
}Expand description
Request for GetGuestAttributes.
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.name: StringRequired. The resource name.
query_path: StringThe guest attributes path to be queried.
worker_ids: Vec<String>The 0-based worker ID. If it is empty, all workers’ GuestAttributes will be returned.
Implementations§
Source§impl GetGuestAttributesRequest
impl GetGuestAttributesRequest
pub fn new() -> Self
Sourcepub fn set_query_path<T: Into<String>>(self, v: T) -> Self
pub fn set_query_path<T: Into<String>>(self, v: T) -> Self
Sets the value of query_path.
§Example
ⓘ
let x = GetGuestAttributesRequest::new().set_query_path("example");Sourcepub fn set_worker_ids<T, V>(self, v: T) -> Self
pub fn set_worker_ids<T, V>(self, v: T) -> Self
Sets the value of worker_ids.
§Example
ⓘ
let x = GetGuestAttributesRequest::new().set_worker_ids(["a", "b", "c"]);Trait Implementations§
Source§impl Clone for GetGuestAttributesRequest
impl Clone for GetGuestAttributesRequest
Source§fn clone(&self) -> GetGuestAttributesRequest
fn clone(&self) -> GetGuestAttributesRequest
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 GetGuestAttributesRequest
impl Debug for GetGuestAttributesRequest
Source§impl Default for GetGuestAttributesRequest
impl Default for GetGuestAttributesRequest
Source§fn default() -> GetGuestAttributesRequest
fn default() -> GetGuestAttributesRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetGuestAttributesRequest
impl Message for GetGuestAttributesRequest
impl StructuralPartialEq for GetGuestAttributesRequest
Auto Trait Implementations§
impl Freeze for GetGuestAttributesRequest
impl RefUnwindSafe for GetGuestAttributesRequest
impl Send for GetGuestAttributesRequest
impl Sync for GetGuestAttributesRequest
impl Unpin for GetGuestAttributesRequest
impl UnsafeUnpin for GetGuestAttributesRequest
impl UnwindSafe for GetGuestAttributesRequest
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