pub enum CapabilityLevel {
Full,
Partial,
Server,
None,
}Available on crate feature
terminal only.Expand description
How well a backend serves a capability.
Variants§
Full
Served whole.
Partial
Served with the limits the detail names.
Server
Decided by the server once connected.
None
Not served: the command is refused before connecting.
Trait Implementations§
Source§impl Clone for CapabilityLevel
impl Clone for CapabilityLevel
impl Copy for CapabilityLevel
Source§impl Debug for CapabilityLevel
impl Debug for CapabilityLevel
Source§impl Display for CapabilityLevel
impl Display for CapabilityLevel
impl Eq for CapabilityLevel
Source§impl JsonSchema for CapabilityLevel
impl JsonSchema for CapabilityLevel
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 moreSource§impl PartialEq for CapabilityLevel
impl PartialEq for CapabilityLevel
Source§impl Serialize for CapabilityLevel
impl Serialize for CapabilityLevel
impl StructuralPartialEq for CapabilityLevel
Auto Trait Implementations§
impl Forget for CapabilityLevel
impl Freeze for CapabilityLevel
impl Move for CapabilityLevel
impl RefUnwindSafe for CapabilityLevel
impl Send for CapabilityLevel
impl Sync for CapabilityLevel
impl Unpin for CapabilityLevel
impl UnsafeUnpin for CapabilityLevel
impl UnwindSafe for CapabilityLevel
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