pub struct NoSkipBackgroundTypePattern {
pub tg_type: String,
pub document: BoxWrapper<Unbox<Document>>,
pub fill: BoxWrapper<Unbox<BackgroundFill>>,
pub intensity: i64,
pub is_inverted: Option<bool>,
pub is_moving: Option<bool>,
}Expand description
Companion type to BackgroundTypePattern that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Fields§
§tg_type: StringType of the background, always “pattern”
document: BoxWrapper<Unbox<Document>>Document with the pattern
fill: BoxWrapper<Unbox<BackgroundFill>>The background fill that is combined with the pattern
intensity: i64Intensity of the pattern when it is shown above the filled background; 0-100
is_inverted: Option<bool>§is_moving: Option<bool>Implementations§
Source§impl NoSkipBackgroundTypePattern
impl NoSkipBackgroundTypePattern
pub fn skip(self) -> BackgroundTypePattern
Trait Implementations§
Source§impl Clone for NoSkipBackgroundTypePattern
impl Clone for NoSkipBackgroundTypePattern
Source§fn clone(&self) -> NoSkipBackgroundTypePattern
fn clone(&self) -> NoSkipBackgroundTypePattern
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 NoSkipBackgroundTypePattern
impl Debug for NoSkipBackgroundTypePattern
Source§impl Default for NoSkipBackgroundTypePattern
impl Default for NoSkipBackgroundTypePattern
Source§fn default() -> NoSkipBackgroundTypePattern
fn default() -> NoSkipBackgroundTypePattern
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NoSkipBackgroundTypePattern
impl<'de> Deserialize<'de> for NoSkipBackgroundTypePattern
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 From<NoSkipBackgroundTypePattern> for BackgroundTypePattern
impl From<NoSkipBackgroundTypePattern> for BackgroundTypePattern
Source§fn from(t: NoSkipBackgroundTypePattern) -> Self
fn from(t: NoSkipBackgroundTypePattern) -> Self
Converts to this type from the input type.
Source§impl Hash for NoSkipBackgroundTypePattern
impl Hash for NoSkipBackgroundTypePattern
Source§impl Into<NoSkipBackgroundTypePattern> for BackgroundTypePattern
impl Into<NoSkipBackgroundTypePattern> for BackgroundTypePattern
Source§fn into(self) -> NoSkipBackgroundTypePattern
fn into(self) -> NoSkipBackgroundTypePattern
Converts this type into the (usually inferred) input type.
Source§impl Ord for NoSkipBackgroundTypePattern
impl Ord for NoSkipBackgroundTypePattern
Source§fn cmp(&self, other: &NoSkipBackgroundTypePattern) -> Ordering
fn cmp(&self, other: &NoSkipBackgroundTypePattern) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for NoSkipBackgroundTypePattern
impl PartialOrd for NoSkipBackgroundTypePattern
impl Eq for NoSkipBackgroundTypePattern
impl StructuralPartialEq for NoSkipBackgroundTypePattern
Auto Trait Implementations§
impl Freeze for NoSkipBackgroundTypePattern
impl RefUnwindSafe for NoSkipBackgroundTypePattern
impl Send for NoSkipBackgroundTypePattern
impl Sync for NoSkipBackgroundTypePattern
impl Unpin for NoSkipBackgroundTypePattern
impl UnwindSafe for NoSkipBackgroundTypePattern
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.