pub struct StarGiftBackground {
pub center_color: i32,
pub edge_color: i32,
pub text_color: i32,
}Expand description
Generated from:
starGiftBackground#aff56398 center_color:int edge_color:int text_color:int = StarGiftBackgroundFields§
§center_color: i32§edge_color: i32§text_color: i32Trait Implementations§
Source§impl Clone for StarGiftBackground
impl Clone for StarGiftBackground
Source§fn clone(&self) -> StarGiftBackground
fn clone(&self) -> StarGiftBackground
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 StarGiftBackground
impl Debug for StarGiftBackground
Source§impl Deserializable for StarGiftBackground
impl Deserializable for StarGiftBackground
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<StarGiftBackground> for StarGiftBackground
impl From<StarGiftBackground> for StarGiftBackground
Source§fn from(x: StarGiftBackground) -> Self
fn from(x: StarGiftBackground) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StarGiftBackground
impl Identifiable for StarGiftBackground
Source§const CONSTRUCTOR_ID: u32 = 0xaff56398
const CONSTRUCTOR_ID: u32 = 0xaff56398
The constructor ID as specified in the TL schema.
Source§impl PartialEq for StarGiftBackground
impl PartialEq for StarGiftBackground
Source§impl Serializable for StarGiftBackground
impl Serializable for StarGiftBackground
Source§impl TryFrom<StarGiftBackground> for StarGiftBackground
impl TryFrom<StarGiftBackground> for StarGiftBackground
Source§type Error = StarGiftBackground
type Error = StarGiftBackground
The type returned in the event of a conversion error.
impl StructuralPartialEq for StarGiftBackground
Auto Trait Implementations§
impl Freeze for StarGiftBackground
impl RefUnwindSafe for StarGiftBackground
impl Send for StarGiftBackground
impl Sync for StarGiftBackground
impl Unpin for StarGiftBackground
impl UnsafeUnpin for StarGiftBackground
impl UnwindSafe for StarGiftBackground
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