pub struct AvailableAsn {
pub asn: Option<i32>,
pub description: Option<String>,
}Expand description
AvailableAsn : Representation of an ASN which does not exist in the database.
Fields§
§asn: Option<i32>§description: Option<String>Implementations§
Source§impl AvailableAsn
impl AvailableAsn
Sourcepub fn new() -> AvailableAsn
pub fn new() -> AvailableAsn
Representation of an ASN which does not exist in the database.
Trait Implementations§
Source§impl Clone for AvailableAsn
impl Clone for AvailableAsn
Source§fn clone(&self) -> AvailableAsn
fn clone(&self) -> AvailableAsn
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 AvailableAsn
impl Debug for AvailableAsn
Source§impl Default for AvailableAsn
impl Default for AvailableAsn
Source§fn default() -> AvailableAsn
fn default() -> AvailableAsn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AvailableAsn
impl<'de> Deserialize<'de> for AvailableAsn
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 AvailableAsn
impl PartialEq for AvailableAsn
Source§impl Serialize for AvailableAsn
impl Serialize for AvailableAsn
impl StructuralPartialEq for AvailableAsn
Auto Trait Implementations§
impl Freeze for AvailableAsn
impl RefUnwindSafe for AvailableAsn
impl Send for AvailableAsn
impl Sync for AvailableAsn
impl Unpin for AvailableAsn
impl UnwindSafe for AvailableAsn
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