pub struct FigureResult {
pub path: String,
pub uuid: String,
pub sha256: String,
pub bytes: usize,
}Expand description
The result of writing one figure.
Fields§
§path: StringThe PNG path that was written (as a lossy UTF-8 string).
uuid: StringThe per-artifact UUID embedded in the PNG.
sha256: StringSHA-256 of the Mermaid source.
bytes: usizeSize of the written PNG in bytes.
Trait Implementations§
Source§impl Clone for FigureResult
impl Clone for FigureResult
Source§fn clone(&self) -> FigureResult
fn clone(&self) -> FigureResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FigureResult
impl RefUnwindSafe for FigureResult
impl Send for FigureResult
impl Sync for FigureResult
impl Unpin for FigureResult
impl UnsafeUnpin for FigureResult
impl UnwindSafe for FigureResult
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> 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