pub struct Metadata { /* private fields */ }
Expand description
A metadata (v1) collected by plantuml-server-client
during processing
- (deprecated: v1 format)
path
- the path of the input file - (deprecated: v1 format)
include
- the metadata about files collected for includes - (deprecated: v1 format)
plantuml
- the information in the generated plantuml diagrams files
- The information in the generated PlantUML diagrams
Implementations§
Source§impl Metadata
impl Metadata
Sourcepub fn builder() -> MetadataBuilder<((), (), (), (), ())>
pub fn builder() -> MetadataBuilder<((), (), (), (), ())>
Create a builder for building Metadata
.
On the builder, call .format_version(...)
(optional), .path(...)
, .includes(...)
, .plantuml(...)
, .files(...)
to set the values of the fields.
Finally, call .build()
to create the instance of Metadata
.
Source§impl Metadata
Auto-generated by derive_getters::Getters
.
impl Metadata
Auto-generated by derive_getters::Getters
.
Sourcepub fn format_version(&self) -> &MetadataVersionV1
pub fn format_version(&self) -> &MetadataVersionV1
Get field format_version
from instance of Metadata
.
Sourcepub fn includes(&self) -> &IncludesMetadata
pub fn includes(&self) -> &IncludesMetadata
Get field includes
from instance of Metadata
.
Sourcepub fn plantuml(&self) -> &PlantUmlMetadata
pub fn plantuml(&self) -> &PlantUmlMetadata
Get field plantuml
from instance of Metadata
.
Sourcepub fn files(&self) -> &Vec<MetadataItem>
pub fn files(&self) -> &Vec<MetadataItem>
Get field files
from instance of Metadata
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
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
Source§impl From<MetadataV2> for Metadata
impl From<MetadataV2> for Metadata
Source§fn from(metadata: MetadataV2) -> Self
fn from(metadata: MetadataV2) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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