pub struct NetworkMeta {
pub namespace: String,
pub active: bool,
pub entry_count: usize,
pub in_flight: usize,
pub last_id: u64,
pub next_since: u64,
pub body_pending: usize,
pub body_failed: usize,
pub warnings: Vec<String>,
pub suggested_commands: Vec<String>,
}Fields§
§namespace: String§active: bool§entry_count: usize§in_flight: usize§last_id: u64§next_since: u64§body_pending: usize§body_failed: usize§warnings: Vec<String>§suggested_commands: Vec<String>Trait Implementations§
Source§impl Clone for NetworkMeta
impl Clone for NetworkMeta
Source§impl Debug for NetworkMeta
impl Debug for NetworkMeta
Source§impl<'de> Deserialize<'de> for NetworkMeta
impl<'de> Deserialize<'de> for NetworkMeta
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 NetworkMeta
impl JsonSchema for NetworkMeta
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 moreAuto Trait Implementations§
impl Forget for NetworkMeta
impl Freeze for NetworkMeta
impl Move for NetworkMeta
impl RefUnwindSafe for NetworkMeta
impl Send for NetworkMeta
impl Sync for NetworkMeta
impl Unpin for NetworkMeta
impl UnsafeUnpin for NetworkMeta
impl UnwindSafe for NetworkMeta
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