pub struct As { /* private fields */ }
Expand description
An autonomous system (AS) is a collection of connected Internet Protocol (IP) routing prefixes under the control of one or more network operators on behalf of a single administrative entity or domain that presents a common, clearly defined routing policy to the internet.
Implementations§
Source§impl As
impl As
Sourcepub fn get_number(&self) -> Option<&u64>
pub fn get_number(&self) -> Option<&u64>
Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.
Sourcepub fn set_number(&mut self, number_arg: u64)
pub fn set_number(&mut self, number_arg: u64)
Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.
§Example
15169
Sourcepub fn get_organization_name(&self) -> Option<&String>
pub fn get_organization_name(&self) -> Option<&String>
Organization name.
Sourcepub fn set_organization_name(&mut self, organization_name_arg: String)
pub fn set_organization_name(&mut self, organization_name_arg: String)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for As
impl RefUnwindSafe for As
impl Send for As
impl Sync for As
impl Unpin for As
impl UnwindSafe for As
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