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