pub struct InputBackgroundLocal {
pub background: InputFile,
}
Expand description
A background from a local file
Fields§
§background: InputFile
Background file to use. Only inputFileLocal and inputFileGenerated are supported. The file must be in JPEG format for wallpapers and in PNG format for patterns
Trait Implementations§
Source§impl Clone for InputBackgroundLocal
impl Clone for InputBackgroundLocal
Source§fn clone(&self) -> InputBackgroundLocal
fn clone(&self) -> InputBackgroundLocal
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 InputBackgroundLocal
impl Debug for InputBackgroundLocal
Source§impl<'de> Deserialize<'de> for InputBackgroundLocal
impl<'de> Deserialize<'de> for InputBackgroundLocal
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 InputBackgroundLocal
impl PartialEq for InputBackgroundLocal
Source§impl Serialize for InputBackgroundLocal
impl Serialize for InputBackgroundLocal
impl StructuralPartialEq for InputBackgroundLocal
Auto Trait Implementations§
impl Freeze for InputBackgroundLocal
impl RefUnwindSafe for InputBackgroundLocal
impl Send for InputBackgroundLocal
impl Sync for InputBackgroundLocal
impl Unpin for InputBackgroundLocal
impl UnwindSafe for InputBackgroundLocal
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