pub struct NetworkArchitectureBuilder { /* private fields */ }Expand description
Builder for NetworkArchitecture.
Implementations§
Source§impl NetworkArchitectureBuilder
impl NetworkArchitectureBuilder
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 network architecture.
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<NetworkArchitecture, NetworkArchitectureBuilderError>
pub fn build( &self, ) -> Result<NetworkArchitecture, NetworkArchitectureBuilderError>
Trait Implementations§
Source§impl Clone for NetworkArchitectureBuilder
impl Clone for NetworkArchitectureBuilder
Source§fn clone(&self) -> NetworkArchitectureBuilder
fn clone(&self) -> NetworkArchitectureBuilder
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 NetworkArchitectureBuilder
impl RefUnwindSafe for NetworkArchitectureBuilder
impl Send for NetworkArchitectureBuilder
impl Sync for NetworkArchitectureBuilder
impl Unpin for NetworkArchitectureBuilder
impl UnwindSafe for NetworkArchitectureBuilder
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