pub struct PolicyDocumentInput {
pub version: PolicyDocumentInputVersion,
pub statements: Vec<PolicyStatementInput>,
}Fields§
§version: PolicyDocumentInputVersion§statements: Vec<PolicyStatementInput>Implementations§
Source§impl PolicyDocumentInput
impl PolicyDocumentInput
Sourcepub fn new(
version: PolicyDocumentInputVersion,
statements: Vec<PolicyStatementInput>,
) -> Self
pub fn new( version: PolicyDocumentInputVersion, statements: Vec<PolicyStatementInput>, ) -> Self
Set the required fields; optional fields start omitted.
Trait Implementations§
Source§impl Clone for PolicyDocumentInput
impl Clone for PolicyDocumentInput
Source§impl Debug for PolicyDocumentInput
impl Debug for PolicyDocumentInput
Source§impl<'de> Deserialize<'de> for PolicyDocumentInput
impl<'de> Deserialize<'de> for PolicyDocumentInput
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 PolicyDocumentInput
impl RefUnwindSafe for PolicyDocumentInput
impl Send for PolicyDocumentInput
impl Sync for PolicyDocumentInput
impl Unpin for PolicyDocumentInput
impl UnsafeUnpin for PolicyDocumentInput
impl UnwindSafe for PolicyDocumentInput
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