pub struct InitCamera {
pub credit_price: i32,
pub ducket_price: i32,
pub publish_ducket_price: Option<i32>,
}
Fields§
§credit_price: i32
§ducket_price: i32
§publish_ducket_price: Option<i32>
Trait Implementations§
source§impl BaseParser for InitCamera
impl BaseParser for InitCamera
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for InitCamera
impl Clone for InitCamera
source§fn clone(&self) -> InitCamera
fn clone(&self) -> InitCamera
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 InitCamera
impl Debug for InitCamera
source§impl Default for InitCamera
impl Default for InitCamera
source§fn default() -> InitCamera
fn default() -> InitCamera
Returns the “default value” for a type. Read more
source§impl PacketVariable for InitCamera
impl PacketVariable for InitCamera
source§impl PartialEq<InitCamera> for InitCamera
impl PartialEq<InitCamera> for InitCamera
source§fn eq(&self, other: &InitCamera) -> bool
fn eq(&self, other: &InitCamera) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InitCamera
Auto Trait Implementations§
impl RefUnwindSafe for InitCamera
impl Send for InitCamera
impl Sync for InitCamera
impl Unpin for InitCamera
impl UnwindSafe for InitCamera
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