pub struct BriefTunnel {
pub id: Option<i32>,
pub url: Option<String>,
pub display: Option<String>,
pub name: String,
pub description: Option<String>,
}Expand description
BriefTunnel : Base serializer class for models inheriting from PrimaryModel.
Fields§
§id: Option<i32>§url: Option<String>§display: Option<String>§name: String§description: Option<String>Implementations§
Source§impl BriefTunnel
impl BriefTunnel
Sourcepub fn new(name: String) -> BriefTunnel
pub fn new(name: String) -> BriefTunnel
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for BriefTunnel
impl Clone for BriefTunnel
Source§fn clone(&self) -> BriefTunnel
fn clone(&self) -> BriefTunnel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BriefTunnel
impl Debug for BriefTunnel
Source§impl Default for BriefTunnel
impl Default for BriefTunnel
Source§fn default() -> BriefTunnel
fn default() -> BriefTunnel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BriefTunnel
impl<'de> Deserialize<'de> for BriefTunnel
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 BriefTunnel
impl PartialEq for BriefTunnel
Source§fn eq(&self, other: &BriefTunnel) -> bool
fn eq(&self, other: &BriefTunnel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BriefTunnel
impl Serialize for BriefTunnel
impl StructuralPartialEq for BriefTunnel
Auto Trait Implementations§
impl Freeze for BriefTunnel
impl RefUnwindSafe for BriefTunnel
impl Send for BriefTunnel
impl Sync for BriefTunnel
impl Unpin for BriefTunnel
impl UnsafeUnpin for BriefTunnel
impl UnwindSafe for BriefTunnel
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