pub struct PointConsumption {
pub type_pb: Type,
pub amount: u32,
pub ad_enabled: bool,
}
Fields§
§type_pb: Type
§amount: u32
§ad_enabled: bool
Trait Implementations§
Source§impl Clone for PointConsumption
impl Clone for PointConsumption
Source§fn clone(&self) -> PointConsumption
fn clone(&self) -> PointConsumption
Returns a copy 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 PointConsumption
impl Debug for PointConsumption
Source§impl Default for PointConsumption
impl Default for PointConsumption
Source§fn default() -> PointConsumption
fn default() -> PointConsumption
Returns the “default value” for a type. Read more
Source§impl<'a> MessageRead<'a> for PointConsumption
impl<'a> MessageRead<'a> for PointConsumption
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for PointConsumption
impl MessageWrite for PointConsumption
Source§impl PartialEq for PointConsumption
impl PartialEq for PointConsumption
impl StructuralPartialEq for PointConsumption
Auto Trait Implementations§
impl Freeze for PointConsumption
impl RefUnwindSafe for PointConsumption
impl Send for PointConsumption
impl Sync for PointConsumption
impl Unpin for PointConsumption
impl UnwindSafe for PointConsumption
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