Struct rust_tdlib::types::BackgroundTypePattern
source · [−]pub struct BackgroundTypePattern { /* private fields */ }Expand description
A PNG or TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user
Implementations
Trait Implementations
sourceimpl AsRef<BackgroundTypePattern> for BackgroundTypePattern
impl AsRef<BackgroundTypePattern> for BackgroundTypePattern
sourcefn as_ref(&self) -> &BackgroundTypePattern
fn as_ref(&self) -> &BackgroundTypePattern
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for BackgroundTypePattern
impl Clone for BackgroundTypePattern
sourcefn clone(&self) -> BackgroundTypePattern
fn clone(&self) -> BackgroundTypePattern
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BackgroundTypePattern
impl Debug for BackgroundTypePattern
sourceimpl Default for BackgroundTypePattern
impl Default for BackgroundTypePattern
sourcefn default() -> BackgroundTypePattern
fn default() -> BackgroundTypePattern
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BackgroundTypePattern
impl<'de> Deserialize<'de> for BackgroundTypePattern
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for BackgroundTypePattern
impl Serialize for BackgroundTypePattern
impl TDBackgroundType for BackgroundTypePattern
Auto Trait Implementations
impl RefUnwindSafe for BackgroundTypePattern
impl Send for BackgroundTypePattern
impl Sync for BackgroundTypePattern
impl Unpin for BackgroundTypePattern
impl UnwindSafe for BackgroundTypePattern
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more