pub struct PlantUmlMetadataItem { /* private fields */ }Expand description
Information in the generated PlantUML diagram
index- The index of the order of the diagrams in the fileid- The id of the diagramoutput_path- The path of output filecombined_output_path- The path ofcombinedPlantUML content’s output filetitle- The last title in the PlantUML contenttitles- The titles in the PlantUML contentheader- The last header in the PlantUML contentheaders- The headers in the PlantUML contentfooter- The last footer in the PlantUML contentfooters- The footers in the PlantUML content
Implementations§
Source§impl PlantUmlMetadataItem
impl PlantUmlMetadataItem
Sourcepub fn builder() -> PlantUmlMetadataItemBuilder<((), (), (), (), (Option<String>,), (Vec<String>,), (Option<String>,), (Vec<String>,), (Option<String>,), (Vec<String>,))>
pub fn builder() -> PlantUmlMetadataItemBuilder<((), (), (), (), (Option<String>,), (Vec<String>,), (Option<String>,), (Vec<String>,), (Option<String>,), (Vec<String>,))>
Create a builder for building PlantUmlMetadataItem.
On the builder, call .index(...), .id(...), .output_path(...), .combined_output_path(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of PlantUmlMetadataItem.
Source§impl PlantUmlMetadataItem
Auto-generated by derive_getters::Getters.
impl PlantUmlMetadataItem
Auto-generated by derive_getters::Getters.
Sourcepub fn output_path(&self) -> &PathBuf
pub fn output_path(&self) -> &PathBuf
Get field output_path from instance of PlantUmlMetadataItem.
Sourcepub fn combined_output_path(&self) -> &Option<PathBuf>
pub fn combined_output_path(&self) -> &Option<PathBuf>
Get field combined_output_path from instance of PlantUmlMetadataItem.
Sourcepub fn header(&self) -> &Option<String>
pub fn header(&self) -> &Option<String>
Get field header from instance of PlantUmlMetadataItem.
Get field footer from instance of PlantUmlMetadataItem.
Get field footers from instance of PlantUmlMetadataItem.
Source§impl PlantUmlMetadataItem
impl PlantUmlMetadataItem
Sourcepub fn identifier(&self) -> String
pub fn identifier(&self) -> String
An identifier of the diagram
Trait Implementations§
Source§impl Clone for PlantUmlMetadataItem
impl Clone for PlantUmlMetadataItem
Source§fn clone(&self) -> PlantUmlMetadataItem
fn clone(&self) -> PlantUmlMetadataItem
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 PlantUmlMetadataItem
impl Debug for PlantUmlMetadataItem
Source§impl<'de> Deserialize<'de> for PlantUmlMetadataItem
impl<'de> Deserialize<'de> for PlantUmlMetadataItem
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 PlantUmlMetadataItem
impl RefUnwindSafe for PlantUmlMetadataItem
impl Send for PlantUmlMetadataItem
impl Sync for PlantUmlMetadataItem
impl Unpin for PlantUmlMetadataItem
impl UnwindSafe for PlantUmlMetadataItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more