#[non_exhaustive]pub struct TestPermissionsResponse {
pub permissions: Vec<String>,
/* private fields */
}Available on crate features
images or instance-groups or instances or region-instance-groups only.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.permissions: Vec<String>A subset of TestPermissionsRequest.permissions that the caller is allowed.
Implementations§
Source§impl TestPermissionsResponse
impl TestPermissionsResponse
pub fn new() -> Self
Sourcepub fn set_permissions<T, V>(self, v: T) -> Self
pub fn set_permissions<T, V>(self, v: T) -> Self
Sets the value of permissions.
Trait Implementations§
Source§impl Clone for TestPermissionsResponse
impl Clone for TestPermissionsResponse
Source§fn clone(&self) -> TestPermissionsResponse
fn clone(&self) -> TestPermissionsResponse
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 TestPermissionsResponse
impl Debug for TestPermissionsResponse
Source§impl Default for TestPermissionsResponse
impl Default for TestPermissionsResponse
Source§fn default() -> TestPermissionsResponse
fn default() -> TestPermissionsResponse
Returns the “default value” for a type. Read more
Source§impl Message for TestPermissionsResponse
impl Message for TestPermissionsResponse
Source§impl PartialEq for TestPermissionsResponse
impl PartialEq for TestPermissionsResponse
impl StructuralPartialEq for TestPermissionsResponse
Auto Trait Implementations§
impl Freeze for TestPermissionsResponse
impl RefUnwindSafe for TestPermissionsResponse
impl Send for TestPermissionsResponse
impl Sync for TestPermissionsResponse
impl Unpin for TestPermissionsResponse
impl UnwindSafe for TestPermissionsResponse
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