pub struct PolicyDocument { /* private fields */ }Available on crate feature
iam only.Implementations§
Source§impl PolicyDocument
impl PolicyDocument
Sourcepub fn new(version: PolicyDocumentVersion, statement: Vec<Statement>) -> Self
pub fn new(version: PolicyDocumentVersion, statement: Vec<Statement>) -> Self
Constructs a new PolicyDocument.
Source§impl PolicyDocument
impl PolicyDocument
pub fn latest(statement: Vec<Statement>) -> PolicyDocument
Trait Implementations§
Source§impl Clone for PolicyDocument
impl Clone for PolicyDocument
Source§fn clone(&self) -> PolicyDocument
fn clone(&self) -> PolicyDocument
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 PolicyDocument
impl Debug for PolicyDocument
Auto Trait Implementations§
impl Freeze for PolicyDocument
impl !RefUnwindSafe for PolicyDocument
impl !Send for PolicyDocument
impl !Sync for PolicyDocument
impl Unpin for PolicyDocument
impl !UnwindSafe for PolicyDocument
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