Struct SlashOptionKindDescriptor
pub struct SlashOptionKindDescriptor {
pub manifest_name: String,
pub supports_choices: bool,
pub supports_numeric_bounds: bool,
pub supports_length_bounds: bool,
}Expand description
Serialized capability row for one SlashOptionKind, as published to
surfaces (the web dashboard mirrors this shape). Built by walking
SlashOptionKind::ALL; never hand-authored.
Fields§
§manifest_name: String§supports_choices: bool§supports_numeric_bounds: bool§supports_length_bounds: boolTrait Implementations§
Source§impl Clone for SlashOptionKindDescriptor
impl Clone for SlashOptionKindDescriptor
Source§fn clone(&self) -> SlashOptionKindDescriptor
fn clone(&self) -> SlashOptionKindDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SlashOptionKindDescriptor
impl Debug for SlashOptionKindDescriptor
Source§impl JsonSchema for SlashOptionKindDescriptor
impl JsonSchema for SlashOptionKindDescriptor
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 SlashOptionKindDescriptor
impl PartialEq for SlashOptionKindDescriptor
Source§fn eq(&self, other: &SlashOptionKindDescriptor) -> bool
fn eq(&self, other: &SlashOptionKindDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SlashOptionKindDescriptor
Auto Trait Implementations§
impl Freeze for SlashOptionKindDescriptor
impl RefUnwindSafe for SlashOptionKindDescriptor
impl Send for SlashOptionKindDescriptor
impl Sync for SlashOptionKindDescriptor
impl Unpin for SlashOptionKindDescriptor
impl UnsafeUnpin for SlashOptionKindDescriptor
impl UnwindSafe for SlashOptionKindDescriptor
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more