Struct valley_free::As [−][src]
pub struct As {
pub asn: u32,
pub customers: HashSet<u32>,
pub providers: HashSet<u32>,
pub peers: HashSet<u32>,
}
Expand description
Definiton of AS struct
Fields
asn: u32
Autonomous system number
customers: HashSet<u32>
Set of customer ASes
providers: HashSet<u32>
Set of provider ASes
peers: HashSet<u32>
Set of peer ASes
Trait Implementations
type Dict = PyClassDummySlot
type Dict = PyClassDummySlot
Specify this class has #[pyclass(dict)]
or not.
type WeakRef = PyClassDummySlot
type WeakRef = PyClassDummySlot
Specify this class has #[pyclass(weakref)]
or not.
type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
#[pyclass(extends=PyDict)]
, it’s PyDict
. Read more
#[pyclass(subclass)]
#[pyclass(extends=…)]
type ThreadChecker = ThreadCheckerStub<As>
type ThreadChecker = ThreadCheckerStub<As>
This handles following two situations: Read more
type AsRefTarget = PyCell<Self>
type AsRefTarget = PyCell<Self>
Utility type to make Py::as_ref work.
PyTypeObject instance for this type.
Checks if object
is an instance of this type or a subclass of this type.
Checks if object
is an instance of this type.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns the safe abstraction over the type object.