pub struct ServerComment {
pub version: String,
pub timestamp: DateTime<Utc>,
pub server: String,
pub ip_address: IpAddr,
pub port: u16,
}
Fields§
§version: String
§timestamp: DateTime<Utc>
§server: String
§ip_address: IpAddr
§port: u16
Trait Implementations§
Source§impl Clone for ServerComment
impl Clone for ServerComment
Source§fn clone(&self) -> ServerComment
fn clone(&self) -> ServerComment
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 ServerComment
impl Debug for ServerComment
Source§impl FromStr for ServerComment
impl FromStr for ServerComment
Source§impl PartialEq for ServerComment
impl PartialEq for ServerComment
Source§impl Serialize for ServerComment
impl Serialize for ServerComment
impl StructuralPartialEq for ServerComment
Auto Trait Implementations§
impl Freeze for ServerComment
impl RefUnwindSafe for ServerComment
impl Send for ServerComment
impl Sync for ServerComment
impl Unpin for ServerComment
impl UnwindSafe for ServerComment
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