[−][src]Struct ipfs_api::request::FilesWrite
Fields
path: &'a str
create: Option<bool>
truncate: Option<bool>
parents: Option<bool>
offset: Option<i64>
count: Option<i64>
raw_leaves: Option<bool>
hash: Option<&'a str>
cid_version: Option<i32>
flush: Option<bool>
Implementations
impl<'a> FilesWrite<'a>
[src]
pub fn builder(
) -> FilesWriteBuilder<'a, ((), (), (), (), (), (), (), (), (), ())>
[src]
) -> FilesWriteBuilder<'a, ((), (), (), (), (), (), (), (), (), ())>
Create a builder for building FilesWrite
.
On the builder, call .path(...)
, .create(...)
(optional), .truncate(...)
(optional), .parents(...)
(optional), .offset(...)
(optional), .count(...)
(optional), .raw_leaves(...)
(optional), .hash(...)
(optional), .cid_version(...)
(optional), .flush(...)
(optional) to set the values of the fields (they accept Into
values).
Finally, call .build()
to create the instance of FilesWrite
.
Trait Implementations
impl<'a> ApiRequest for FilesWrite<'a>
[src]
impl<'a> Default for FilesWrite<'a>
[src]
pub fn default() -> FilesWrite<'a>
[src]
impl<'a> Serialize for FilesWrite<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for FilesWrite<'a>
[src]
impl<'a> Send for FilesWrite<'a>
[src]
impl<'a> Sync for FilesWrite<'a>
[src]
impl<'a> Unpin for FilesWrite<'a>
[src]
impl<'a> UnwindSafe for FilesWrite<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,