Struct insta::internals::SnapshotContents[][src]

pub struct SnapshotContents(_);

The contents of a Snapshot

Implementations

impl SnapshotContents[src]

pub fn from_inline(value: &str) -> SnapshotContents[src]

pub fn to_inline(&self, indentation: usize) -> String[src]

Trait Implementations

impl Clone for SnapshotContents[src]

impl Debug for SnapshotContents[src]

impl<'de> Deserialize<'de> for SnapshotContents[src]

impl From<&'_ str> for SnapshotContents[src]

impl From<SnapshotContents> for String[src]

impl From<String> for SnapshotContents[src]

impl PartialEq<SnapshotContents> for SnapshotContents[src]

impl Serialize for SnapshotContents[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.