pub struct AttachPolicyRequest {
pub directory_arn: String,
pub object_reference: ObjectReference,
pub policy_reference: ObjectReference,
}Fields§
§directory_arn: StringThe Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.
object_reference: ObjectReferenceThe reference that identifies the object to which the policy will be attached.
policy_reference: ObjectReferenceThe reference that is associated with the policy object.
Trait Implementations§
Source§impl Clone for AttachPolicyRequest
impl Clone for AttachPolicyRequest
Source§fn clone(&self) -> AttachPolicyRequest
fn clone(&self) -> AttachPolicyRequest
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 AttachPolicyRequest
impl Debug for AttachPolicyRequest
Source§impl Default for AttachPolicyRequest
impl Default for AttachPolicyRequest
Source§fn default() -> AttachPolicyRequest
fn default() -> AttachPolicyRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for AttachPolicyRequest
impl PartialEq for AttachPolicyRequest
Source§impl Serialize for AttachPolicyRequest
impl Serialize for AttachPolicyRequest
impl StructuralPartialEq for AttachPolicyRequest
Auto Trait Implementations§
impl Freeze for AttachPolicyRequest
impl RefUnwindSafe for AttachPolicyRequest
impl Send for AttachPolicyRequest
impl Sync for AttachPolicyRequest
impl Unpin for AttachPolicyRequest
impl UnwindSafe for AttachPolicyRequest
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