Enum rtdlib::types::InputBackground
source · [−]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
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<InputBackground, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<InputBackground, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InputBackground
impl Send for InputBackground
impl Sync for InputBackground
impl Unpin for InputBackground
impl UnwindSafe for InputBackground
Blanket Implementations
Mutably borrows from an owned value. Read more