pub struct Ipv6 {
pub cidr: String,
pub addresses: Ipv6Addresses,
pub only: bool,
}Expand description
A network’s IPv6 side (see super::Network::ipv6).
Fields§
§cidr: StringAn IPv6 /64 block, unique local (fd00:20::/64) or global. A machine at octet 10 of
the IPv4 block gets <block>::10: the octet’s digits, read as the address’s last group,
so both addresses read alike.
addresses: Ipv6AddressesHow machines get their IPv6 address: static (default), the one derived from their
octet, or auto, the one the target hands out (Docker’s address management, the
cluster’s, Oracle Cloud’s). Isoloom’s own addresses stay fixed either way.
only: boolIPv6 only: the network carries no IPv4. Its cidr still numbers the machines (their
octet), but no target puts it on the wire. Such a network has no reach, gateway,
tc or internet: those go through Isoloom’s IPv4 router or NAT.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ipv6
impl<'de> Deserialize<'de> for Ipv6
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
impl Eq for Ipv6
Source§impl JsonSchema for Ipv6
impl JsonSchema for Ipv6
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Ipv6
Auto Trait Implementations§
impl Freeze for Ipv6
impl RefUnwindSafe for Ipv6
impl Send for Ipv6
impl Sync for Ipv6
impl Unpin for Ipv6
impl UnsafeUnpin for Ipv6
impl UnwindSafe for Ipv6
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.