pub struct PortalResponse {
pub access_token: Option<String>,
pub username: Option<String>,
pub suc_msg: Option<String>,
pub client_ip: IpAddr,
pub online_ip: IpAddr,
pub error: String,
pub error_msg: String,
pub res: String,
}Fields§
§access_token: Option<String>§username: Option<String>§suc_msg: Option<String>§client_ip: IpAddr§online_ip: IpAddr§error: String§error_msg: String§res: StringTrait Implementations§
Source§impl Clone for PortalResponse
impl Clone for PortalResponse
Source§fn clone(&self) -> PortalResponse
fn clone(&self) -> PortalResponse
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 PortalResponse
impl Debug for PortalResponse
Source§impl<'de> Deserialize<'de> for PortalResponse
impl<'de> Deserialize<'de> for PortalResponse
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
Auto Trait Implementations§
impl Freeze for PortalResponse
impl RefUnwindSafe for PortalResponse
impl Send for PortalResponse
impl Sync for PortalResponse
impl Unpin for PortalResponse
impl UnsafeUnpin for PortalResponse
impl UnwindSafe for PortalResponse
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