Struct fsd_interface::messages::PilotRegisterMessage
source · pub struct PilotRegisterMessage {
pub from: String,
pub to: String,
pub cid: String,
pub password: String,
pub rating: PilotRating,
pub protocol: ProtocolRevision,
pub simulator_type: SimulatorType,
pub real_name: String,
}Expand description
Sent by a pilot client to register itself on the network after the initial handshake
Fields§
§from: String§to: String§cid: String§password: String§rating: PilotRating§protocol: ProtocolRevision§simulator_type: SimulatorType§real_name: StringImplementations§
source§impl PilotRegisterMessage
impl PilotRegisterMessage
pub fn new( from: impl AsRef<str>, to: impl AsRef<str>, real_name: impl Into<String>, cid: impl Into<String>, password: impl Into<String>, rating: PilotRating, protocol: ProtocolRevision, simulator_type: SimulatorType ) -> Self
Trait Implementations§
source§impl Clone for PilotRegisterMessage
impl Clone for PilotRegisterMessage
source§fn clone(&self) -> PilotRegisterMessage
fn clone(&self) -> PilotRegisterMessage
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 PilotRegisterMessage
impl Debug for PilotRegisterMessage
source§impl Display for PilotRegisterMessage
impl Display for PilotRegisterMessage
Auto Trait Implementations§
impl RefUnwindSafe for PilotRegisterMessage
impl Send for PilotRegisterMessage
impl Sync for PilotRegisterMessage
impl Unpin for PilotRegisterMessage
impl UnwindSafe for PilotRegisterMessage
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