pub struct GiftBackground {
pub center_color: u32,
pub edge_color: u32,
pub text_color: u32,
}Expand description
Background of a regular gift.
Fields§
§center_color: u32Center color of the background in RGB format.
edge_color: u32Edge color of the background in RGB format.
text_color: u32Text color of the background in RGB format.
Trait Implementations§
Source§impl Clone for GiftBackground
impl Clone for GiftBackground
Source§fn clone(&self) -> GiftBackground
fn clone(&self) -> GiftBackground
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 GiftBackground
impl Debug for GiftBackground
Source§impl<'de> Deserialize<'de> for GiftBackground
impl<'de> Deserialize<'de> for GiftBackground
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 GiftBackground
impl RefUnwindSafe for GiftBackground
impl Send for GiftBackground
impl Sync for GiftBackground
impl Unpin for GiftBackground
impl UnsafeUnpin for GiftBackground
impl UnwindSafe for GiftBackground
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