[−][src]Struct rtdlib::types::InputFileRemote
A file defined by its remote ID. The remote ID is guaranteed to be usable only if the corresponding file is still accessible to the user and known to TDLib. For example, if the file is from a message, then the message must be not deleted and accessible to the user. If the file database is disabled, then the corresponding object with the file must be preloaded by the client
Implementations
impl InputFileRemote
[src]
pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>
[src]
pub fn builder() -> RTDInputFileRemoteBuilder
[src]
pub fn id(&self) -> &String
[src]
Trait Implementations
impl AsRef<InputFileRemote> for InputFileRemote
[src]
fn as_ref(&self) -> &InputFileRemote
[src]
impl Clone for InputFileRemote
[src]
fn clone(&self) -> InputFileRemote
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InputFileRemote
[src]
impl Default for InputFileRemote
[src]
fn default() -> InputFileRemote
[src]
impl<'de> Deserialize<'de> for InputFileRemote
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RObject for InputFileRemote
[src]
impl Serialize for InputFileRemote
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl TDInputFile for InputFileRemote
[src]
Auto Trait Implementations
impl RefUnwindSafe for InputFileRemote
impl Send for InputFileRemote
impl Sync for InputFileRemote
impl Unpin for InputFileRemote
impl UnwindSafe for InputFileRemote
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,