pub struct SetPolicyRequest {
pub name: Vec<String>,
pub entity_type: PolicyEntity,
pub entity_name: String,
}Expand description
Request to set/attach policies
Fields§
§name: Vec<String>Policy names to attach
entity_type: PolicyEntityEntity type (user or group)
entity_name: StringEntity name (user access key or group name)
Trait Implementations§
Source§impl Clone for SetPolicyRequest
impl Clone for SetPolicyRequest
Source§fn clone(&self) -> SetPolicyRequest
fn clone(&self) -> SetPolicyRequest
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 SetPolicyRequest
impl Debug for SetPolicyRequest
Source§impl<'de> Deserialize<'de> for SetPolicyRequest
impl<'de> Deserialize<'de> for SetPolicyRequest
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
Auto Trait Implementations§
impl Freeze for SetPolicyRequest
impl RefUnwindSafe for SetPolicyRequest
impl Send for SetPolicyRequest
impl Sync for SetPolicyRequest
impl Unpin for SetPolicyRequest
impl UnsafeUnpin for SetPolicyRequest
impl UnwindSafe for SetPolicyRequest
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