[−][src]Struct rust_tdlib::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]
pub fn as_ref(&self) -> &InputFileRemote
[src]
impl Clone for InputFileRemote
[src]
pub fn clone(&self) -> InputFileRemote
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InputFileRemote
[src]
impl Default for InputFileRemote
[src]
pub fn default() -> InputFileRemote
[src]
impl<'de> Deserialize<'de> for InputFileRemote
[src]
pub 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]
pub 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
[src]
impl Send for InputFileRemote
[src]
impl Sync for InputFileRemote
[src]
impl Unpin for InputFileRemote
[src]
impl UnwindSafe for InputFileRemote
[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> 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,