[][src]Struct ipfs_api::request::Ls

pub struct Ls<'a> {
    pub path: &'a str,
    pub resolve_type: Option<bool>,
    pub size: Option<bool>,
    pub stream: Option<bool>,
}

Fields

path: &'a strresolve_type: Option<bool>

Resolve linked objects to find out their types. Default: true

size: Option<bool>

Resolve linked objects to find out their file size. Default: true

stream: Option<bool>

Enable experimental streaming of directory entries as they are traversed.

Implementations

impl<'a> Ls<'a>[src]

pub fn builder() -> LsBuilder<'a, ((), (), (), ())>[src]

Create a builder for building Ls. On the builder, call .path(...), .resolve_type(...)(optional), .size(...)(optional), .stream(...)(optional) to set the values of the fields (they accept Into values). Finally, call .build() to create the instance of Ls.

Trait Implementations

impl<'a> ApiRequest for Ls<'a>[src]

impl<'a> Default for Ls<'a>[src]

impl<'a> Serialize for Ls<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Ls<'a>[src]

impl<'a> Send for Ls<'a>[src]

impl<'a> Sync for Ls<'a>[src]

impl<'a> Unpin for Ls<'a>[src]

impl<'a> UnwindSafe for Ls<'a>[src]

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.