pub struct GuideSessionOnDutyUpdate {
pub on_duty: bool,
pub handle_guide_tickets: bool,
pub handle_helper_tickets: bool,
pub handle_guardian_tickets: bool,
}
Fields§
§on_duty: bool
§handle_guide_tickets: bool
§handle_helper_tickets: bool
§handle_guardian_tickets: bool
Trait Implementations§
source§impl BaseParser for GuideSessionOnDutyUpdate
impl BaseParser for GuideSessionOnDutyUpdate
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 GuideSessionOnDutyUpdate
impl Clone for GuideSessionOnDutyUpdate
source§fn clone(&self) -> GuideSessionOnDutyUpdate
fn clone(&self) -> GuideSessionOnDutyUpdate
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 GuideSessionOnDutyUpdate
impl Debug for GuideSessionOnDutyUpdate
source§impl Default for GuideSessionOnDutyUpdate
impl Default for GuideSessionOnDutyUpdate
source§fn default() -> GuideSessionOnDutyUpdate
fn default() -> GuideSessionOnDutyUpdate
Returns the “default value” for a type. Read more
source§impl PartialEq<GuideSessionOnDutyUpdate> for GuideSessionOnDutyUpdate
impl PartialEq<GuideSessionOnDutyUpdate> for GuideSessionOnDutyUpdate
source§fn eq(&self, other: &GuideSessionOnDutyUpdate) -> bool
fn eq(&self, other: &GuideSessionOnDutyUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GuideSessionOnDutyUpdate
Auto Trait Implementations§
impl RefUnwindSafe for GuideSessionOnDutyUpdate
impl Send for GuideSessionOnDutyUpdate
impl Sync for GuideSessionOnDutyUpdate
impl Unpin for GuideSessionOnDutyUpdate
impl UnwindSafe for GuideSessionOnDutyUpdate
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