Struct bgpq3::Bgpq3Query [−][src]
A query for bgpq3.
See Bgpq3::query_v4
and Bgpq3::query_v6
for usage examples.
Example
AS-SET
use bgpq3::Bgpq3Query; let query: Bgpq3Query = "AS-RAPPET".into();
ASN
use bgpq3::Bgpq3Query; let query: Bgpq3Query = 207968.into();
Implementations
impl Bgpq3Query
[src]
pub fn as_set(as_set: &str) -> Bgpq3Query
[src]
pub fn asn(asn: u32) -> Bgpq3Query
[src]
Trait Implementations
impl Clone for Bgpq3Query
[src]
fn clone(&self) -> Bgpq3Query
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Bgpq3Query
[src]
impl From<&'_ str> for Bgpq3Query
[src]
impl From<u32> for Bgpq3Query
[src]
Auto Trait Implementations
impl RefUnwindSafe for Bgpq3Query
impl Send for Bgpq3Query
impl Sync for Bgpq3Query
impl Unpin for Bgpq3Query
impl UnwindSafe for Bgpq3Query
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,