pub struct RelatedPrefix {
pub prefix: String,
pub origin_asn: i64,
pub asn_name: String,
pub relationship: String,
}Fields§
§prefix: String§origin_asn: i64§asn_name: String§relationship: StringTrait Implementations§
Source§impl Clone for RelatedPrefix
impl Clone for RelatedPrefix
Source§fn clone(&self) -> RelatedPrefix
fn clone(&self) -> RelatedPrefix
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 RelatedPrefix
impl Debug for RelatedPrefix
Source§impl Default for RelatedPrefix
impl Default for RelatedPrefix
Source§fn default() -> RelatedPrefix
fn default() -> RelatedPrefix
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RelatedPrefix
impl<'de> Deserialize<'de> for RelatedPrefix
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 RelatedPrefix
impl PartialEq for RelatedPrefix
Source§fn eq(&self, other: &RelatedPrefix) -> bool
fn eq(&self, other: &RelatedPrefix) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RelatedPrefix
impl Serialize for RelatedPrefix
impl StructuralPartialEq for RelatedPrefix
Auto Trait Implementations§
impl Freeze for RelatedPrefix
impl RefUnwindSafe for RelatedPrefix
impl Send for RelatedPrefix
impl Sync for RelatedPrefix
impl Unpin for RelatedPrefix
impl UnsafeUnpin for RelatedPrefix
impl UnwindSafe for RelatedPrefix
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