pub struct TelnetResult {
pub success: bool,
pub error: Option<String>,
}Fields§
§success: bool§error: Option<String>Trait Implementations§
Source§impl Clone for TelnetResult
impl Clone for TelnetResult
Source§fn clone(&self) -> TelnetResult
fn clone(&self) -> TelnetResult
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 TelnetResult
impl Debug for TelnetResult
Source§impl Default for TelnetResult
impl Default for TelnetResult
Source§fn default() -> TelnetResult
fn default() -> TelnetResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TelnetResult
impl<'de> Deserialize<'de> for TelnetResult
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 TelnetResult
impl PartialEq for TelnetResult
Source§impl Serialize for TelnetResult
impl Serialize for TelnetResult
impl StructuralPartialEq for TelnetResult
Auto Trait Implementations§
impl Freeze for TelnetResult
impl RefUnwindSafe for TelnetResult
impl Send for TelnetResult
impl Sync for TelnetResult
impl Unpin for TelnetResult
impl UnwindSafe for TelnetResult
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