[][src]Struct rtdlib::types::WriteGeneratedFilePart

pub struct WriteGeneratedFilePart { /* fields omitted */ }

Writes a part of a generated file. This method is intended to be used only if the client has no direct access to TDLib's file system, because it is usually slower than a direct write to the destination file

Implementations

impl WriteGeneratedFilePart[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDWriteGeneratedFilePartBuilder[src]

pub fn generation_id(&self) -> isize[src]

pub fn offset(&self) -> i64[src]

pub fn data(&self) -> &String[src]

Trait Implementations

impl AsRef<WriteGeneratedFilePart> for WriteGeneratedFilePart[src]

impl Clone for WriteGeneratedFilePart[src]

impl Debug for WriteGeneratedFilePart[src]

impl Default for WriteGeneratedFilePart[src]

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

impl RFunction for WriteGeneratedFilePart[src]

impl RObject for WriteGeneratedFilePart[src]

impl Serialize for WriteGeneratedFilePart[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.