Struct caesar_core::relay::transfer::TransferRequest
source · pub struct TransferRequest {
pub name: String,
pub ip: String,
pub local_room_id: String,
pub relay_room_id: String,
}Expand description
Request to transfer a connection from one relay to another
Fields§
§name: StringThe name of the client
ip: StringThe IP address of the client
local_room_id: StringThe local room ID of the client
relay_room_id: StringThe relay room ID of the client
Implementations§
Trait Implementations§
source§impl Clone for TransferRequest
impl Clone for TransferRequest
source§fn clone(&self) -> TransferRequest
fn clone(&self) -> TransferRequest
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 TransferRequest
impl Debug for TransferRequest
source§impl<'de> Deserialize<'de> for TransferRequest
impl<'de> Deserialize<'de> for TransferRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for TransferRequest
impl PartialEq for TransferRequest
source§fn eq(&self, other: &TransferRequest) -> bool
fn eq(&self, other: &TransferRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TransferRequest
impl Serialize for TransferRequest
impl Eq for TransferRequest
impl StructuralPartialEq for TransferRequest
Auto Trait Implementations§
impl Freeze for TransferRequest
impl RefUnwindSafe for TransferRequest
impl Send for TransferRequest
impl Sync for TransferRequest
impl Unpin for TransferRequest
impl UnwindSafe for TransferRequest
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.