pub enum DigestDisplayFormat {
Short,
Full,
UR,
}Variants§
Short
Default: Display a shortened version of the digest (first 8 characters).
Full
Display the full digest for each element in the tree.
UR
Display a ur:digest UR for each element in the tree.
Trait Implementations§
Source§impl Clone for DigestDisplayFormat
impl Clone for DigestDisplayFormat
Source§fn clone(&self) -> DigestDisplayFormat
fn clone(&self) -> DigestDisplayFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DigestDisplayFormat
impl Default for DigestDisplayFormat
Source§fn default() -> DigestDisplayFormat
fn default() -> DigestDisplayFormat
Returns the “default value” for a type. Read more
impl Copy for DigestDisplayFormat
Auto Trait Implementations§
impl Freeze for DigestDisplayFormat
impl RefUnwindSafe for DigestDisplayFormat
impl Send for DigestDisplayFormat
impl Sync for DigestDisplayFormat
impl Unpin for DigestDisplayFormat
impl UnwindSafe for DigestDisplayFormat
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