pub struct BundleVariant {
pub named: String,
}Expand description
The variant a bundle is instantiated for (3.3.8): {"named": <name>},
the name matching [a-z][a-z0-9_]{0,63} (034 3.1.3). The variant none
is spelled by omitting the member.
Fields§
§named: StringTrait Implementations§
Source§impl Clone for BundleVariant
impl Clone for BundleVariant
Source§impl Debug for BundleVariant
impl Debug for BundleVariant
Source§impl<'de> Deserialize<'de> for BundleVariant
impl<'de> Deserialize<'de> for BundleVariant
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 BundleVariant
Source§impl JsonSchema for BundleVariant
impl JsonSchema for BundleVariant
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 BundleVariant
impl PartialEq for BundleVariant
Source§impl Serialize for BundleVariant
impl Serialize for BundleVariant
impl StructuralPartialEq for BundleVariant
Auto Trait Implementations§
impl Freeze for BundleVariant
impl RefUnwindSafe for BundleVariant
impl Send for BundleVariant
impl Sync for BundleVariant
impl Unpin for BundleVariant
impl UnsafeUnpin for BundleVariant
impl UnwindSafe for BundleVariant
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