pub enum InputBackground {
Local(InputBackgroundLocal),
Remote(InputBackgroundRemote),
Previous(InputBackgroundPrevious),
}
Variants§
Local(InputBackgroundLocal)
A background from a local file
Remote(InputBackgroundRemote)
A background from the server
Previous(InputBackgroundPrevious)
A background previously set in the chat; for chat backgrounds only
Trait Implementations§
Source§impl Clone for InputBackground
impl Clone for InputBackground
Source§fn clone(&self) -> InputBackground
fn clone(&self) -> InputBackground
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InputBackground
impl Debug for InputBackground
Source§impl<'de> Deserialize<'de> for InputBackground
impl<'de> Deserialize<'de> for InputBackground
Source§fn 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
Source§impl PartialEq for InputBackground
impl PartialEq for InputBackground
Source§impl Serialize for InputBackground
impl Serialize for InputBackground
impl StructuralPartialEq for InputBackground
Auto Trait Implementations§
impl Freeze for InputBackground
impl RefUnwindSafe for InputBackground
impl Send for InputBackground
impl Sync for InputBackground
impl Unpin for InputBackground
impl UnwindSafe for InputBackground
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more