pub struct AuthorizationBoundaryBuilder { /* private fields */ }
Expand description
Builder for AuthorizationBoundary
.
Implementations§
Source§impl AuthorizationBoundaryBuilder
impl AuthorizationBoundaryBuilder
Sourcepub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A summary of the system’s authorization boundary.
pub fn diagrams<VALUE: Into<Vec<Diagram>>>(&mut self, value: VALUE) -> &mut Self
pub fn links<VALUE: Into<Vec<Link>>>(&mut self, value: VALUE) -> &mut Self
pub fn props<VALUE: Into<Vec<Property>>>(&mut self, value: VALUE) -> &mut Self
pub fn remarks<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AuthorizationBoundary, AuthorizationBoundaryBuilderError>
pub fn build( &self, ) -> Result<AuthorizationBoundary, AuthorizationBoundaryBuilderError>
Trait Implementations§
Source§impl Clone for AuthorizationBoundaryBuilder
impl Clone for AuthorizationBoundaryBuilder
Source§fn clone(&self) -> AuthorizationBoundaryBuilder
fn clone(&self) -> AuthorizationBoundaryBuilder
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 moreAuto Trait Implementations§
impl Freeze for AuthorizationBoundaryBuilder
impl RefUnwindSafe for AuthorizationBoundaryBuilder
impl Send for AuthorizationBoundaryBuilder
impl Sync for AuthorizationBoundaryBuilder
impl Unpin for AuthorizationBoundaryBuilder
impl UnwindSafe for AuthorizationBoundaryBuilder
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