pub enum DisplayContentMode {
Auto,
Content,
Hash,
ShortHash,
}
Available on crate feature
cli
only.Expand description
Different modes to display content.
Variants§
Auto
Displays the content if small enough, otherwise it displays the content hash.
Content
Display the content unconditionally.
Hash
Display the hash of the content.
ShortHash
Display the shortened hash of the content.
Trait Implementations§
Source§impl Clone for DisplayContentMode
impl Clone for DisplayContentMode
Source§fn clone(&self) -> DisplayContentMode
fn clone(&self) -> DisplayContentMode
Returns a copy 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 DisplayContentMode
impl Debug for DisplayContentMode
Source§impl ValueEnum for DisplayContentMode
impl ValueEnum for DisplayContentMode
impl Copy for DisplayContentMode
Auto Trait Implementations§
impl Freeze for DisplayContentMode
impl RefUnwindSafe for DisplayContentMode
impl Send for DisplayContentMode
impl Sync for DisplayContentMode
impl Unpin for DisplayContentMode
impl UnwindSafe for DisplayContentMode
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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