pub struct SnapshotContents(/* private fields */);
Expand description
The contents of a Snapshot
Implementations§
Source§impl SnapshotContents
impl SnapshotContents
pub fn from_inline(value: &str) -> SnapshotContents
pub fn to_inline(&self, indentation: usize) -> String
Trait Implementations§
Source§impl Clone for SnapshotContents
impl Clone for SnapshotContents
Source§fn clone(&self) -> SnapshotContents
fn clone(&self) -> SnapshotContents
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 SnapshotContents
impl Debug for SnapshotContents
Source§impl From<&str> for SnapshotContents
impl From<&str> for SnapshotContents
Source§fn from(value: &str) -> SnapshotContents
fn from(value: &str) -> SnapshotContents
Converts to this type from the input type.
Source§impl From<SnapshotContents> for String
impl From<SnapshotContents> for String
Source§fn from(value: SnapshotContents) -> String
fn from(value: SnapshotContents) -> String
Converts to this type from the input type.
Source§impl From<String> for SnapshotContents
impl From<String> for SnapshotContents
Source§fn from(value: String) -> SnapshotContents
fn from(value: String) -> SnapshotContents
Converts to this type from the input type.
Source§impl PartialEq for SnapshotContents
impl PartialEq for SnapshotContents
Auto Trait Implementations§
impl Freeze for SnapshotContents
impl RefUnwindSafe for SnapshotContents
impl Send for SnapshotContents
impl Sync for SnapshotContents
impl Unpin for SnapshotContents
impl UnwindSafe for SnapshotContents
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