Struct scratchstack_aspen::StatementBuilder
source · [−]pub struct StatementBuilder { /* private fields */ }
Expand description
Builder for Statement
.
Implementations
sourceimpl StatementBuilder
impl StatementBuilder
pub fn sid<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn effect(&mut self, value: Effect) -> &mut Self
pub fn action<VALUE: Into<ActionList>>(&mut self, value: VALUE) -> &mut Self
pub fn not_action<VALUE: Into<ActionList>>(&mut self, value: VALUE) -> &mut Self
pub fn resource<VALUE: Into<ResourceList>>(&mut self, value: VALUE) -> &mut Self
pub fn not_resource<VALUE: Into<ResourceList>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn principal<VALUE: Into<Principal>>(&mut self, value: VALUE) -> &mut Self
pub fn not_principal<VALUE: Into<Principal>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn condition<VALUE: Into<Condition>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations
sourceimpl Clone for StatementBuilder
impl Clone for StatementBuilder
sourcefn clone(&self) -> StatementBuilder
fn clone(&self) -> StatementBuilder
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for StatementBuilder
impl Send for StatementBuilder
impl Sync for StatementBuilder
impl Unpin for StatementBuilder
impl UnwindSafe for StatementBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more