pub enum InputBackground {
Local(InputBackgroundLocal),
Remote(InputBackgroundRemote),
// some variants omitted
}
Expand description
Contains information about background to set
Variants§
Local(InputBackgroundLocal)
A background from a local file
Remote(InputBackgroundRemote)
A background from the server
Implementations§
Trait Implementations§
Source§impl AsRef<InputBackground> for InputBackground
impl AsRef<InputBackground> for InputBackground
Source§fn as_ref(&self) -> &InputBackground
fn as_ref(&self) -> &InputBackground
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for InputBackground
impl Clone for InputBackground
Source§fn clone(&self) -> InputBackground
fn clone(&self) -> InputBackground
Returns a copy 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 Default for InputBackground
impl Default for InputBackground
Source§fn default() -> InputBackground
fn default() -> InputBackground
Returns the “default value” for a type. Read more
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
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