[−][src]Struct telegram_bot::types::FileRef
Unique file identifier reference.
Trait Implementations
impl Clone for FileRef
[src]
impl Debug for FileRef
[src]
impl Eq for FileRef
[src]
impl<'a> From<&'a FileRef> for InputFile
[src]
impl<'a> From<&'a FileRef> for InputFileRef
[src]
pub fn from(value: &'a FileRef) -> InputFileRef
[src]
impl<'a> From<&'a mut FileRef> for InputFile
[src]
impl<'a> From<&'a mut FileRef> for InputFileRef
[src]
pub fn from(value: &'a mut FileRef) -> InputFileRef
[src]
impl<'a> From<&'a str> for FileRef
[src]
impl From<FileRef> for InputFile
[src]
impl From<FileRef> for InputFileRef
[src]
pub fn from(value: FileRef) -> InputFileRef
[src]
impl<'a> From<String> for FileRef
[src]
impl Hash for FileRef
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for FileRef
[src]
pub fn cmp(&self, other: &FileRef) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<FileRef> for FileRef
[src]
impl PartialOrd<FileRef> for FileRef
[src]
pub fn partial_cmp(&self, other: &FileRef) -> Option<Ordering>
[src]
pub fn lt(&self, other: &FileRef) -> bool
[src]
pub fn le(&self, other: &FileRef) -> bool
[src]
pub fn gt(&self, other: &FileRef) -> bool
[src]
pub fn ge(&self, other: &FileRef) -> bool
[src]
impl Serialize for FileRef
[src]
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl StructuralEq for FileRef
[src]
impl StructuralPartialEq for FileRef
[src]
Auto Trait Implementations
impl RefUnwindSafe for FileRef
[src]
impl Send for FileRef
[src]
impl Sync for FileRef
[src]
impl Unpin for FileRef
[src]
impl UnwindSafe for FileRef
[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> 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>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,