Struct wasmer_deploy_schema::AppId
source · pub struct AppId(/* private fields */);
Implementations§
source§impl AppId
impl AppId
pub fn new(val: u64) -> Self
pub fn as_u64(&self) -> u64
pub fn from_ip( addr: &IpAddr, method: NetworkIdEncodingMethod ) -> Option<(Self, u32)>
pub fn from_ipv6( addr: &Ipv6Addr, method: NetworkIdEncodingMethod ) -> Option<(Self, u32)>
pub fn into_ip( self, base: IpAddr, remainder: u32, method: NetworkIdEncodingMethod ) -> IpAddr
pub fn into_ipv6( self, base: Ipv6Addr, remainder: u32, method: NetworkIdEncodingMethod ) -> Ipv6Addr
Trait Implementations§
source§impl<'de> Deserialize<'de> for AppId
impl<'de> Deserialize<'de> for AppId
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 JsonSchema for AppId
impl JsonSchema for AppId
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl Ord for AppId
impl Ord for AppId
source§impl PartialEq for AppId
impl PartialEq for AppId
source§impl PartialOrd for AppId
impl PartialOrd for AppId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for AppId
impl Eq for AppId
impl StructuralEq for AppId
impl StructuralPartialEq for AppId
Auto Trait Implementations§
impl RefUnwindSafe for AppId
impl Send for AppId
impl Sync for AppId
impl Unpin for AppId
impl UnwindSafe for AppId
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.