pub struct GiftBackground {
pub center_color: i32,
pub edge_color: i32,
pub text_color: i32,
}Expand description
Describes background of a gift
Fields§
§center_color: i32Center color in RGB format
edge_color: i32Edge color in RGB format
text_color: i32Text color 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 Default for GiftBackground
impl Default for GiftBackground
Source§fn default() -> GiftBackground
fn default() -> GiftBackground
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for GiftBackground
impl PartialEq for GiftBackground
Source§impl Serialize for GiftBackground
impl Serialize for GiftBackground
impl StructuralPartialEq for GiftBackground
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