pub struct ValidateManifestBody {
pub kind: Option<ValidateManifestBodyKind>,
pub source: Option<ValidateManifestBodySource>,
pub text: String,
}Expand description
ValidateManifestBody
JSON schema
{
"type": "object",
"required": [
"text"
],
"properties": {
"kind": {
"type": "string",
"maxLength": 40
},
"source": {
"type": "string",
"enum": [
"tabularium.yaml",
"tabularium.json"
]
},
"text": {
"type": "string"
}
}
}Fields§
§kind: Option<ValidateManifestBodyKind>§source: Option<ValidateManifestBodySource>§text: StringImplementations§
Source§impl ValidateManifestBody
impl ValidateManifestBody
pub fn builder() -> ValidateManifestBody
Trait Implementations§
Source§impl Clone for ValidateManifestBody
impl Clone for ValidateManifestBody
Source§fn clone(&self) -> ValidateManifestBody
fn clone(&self) -> ValidateManifestBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValidateManifestBody
impl Debug for ValidateManifestBody
Source§impl<'de> Deserialize<'de> for ValidateManifestBody
impl<'de> Deserialize<'de> for ValidateManifestBody
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 From<&ValidateManifestBody> for ValidateManifestBody
impl From<&ValidateManifestBody> for ValidateManifestBody
Source§fn from(value: &ValidateManifestBody) -> Self
fn from(value: &ValidateManifestBody) -> Self
Converts to this type from the input type.
Source§impl From<ValidateManifestBody> for ValidateManifestBody
impl From<ValidateManifestBody> for ValidateManifestBody
Source§fn from(value: ValidateManifestBody) -> Self
fn from(value: ValidateManifestBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for ValidateManifestBody
impl Serialize for ValidateManifestBody
Source§impl TryFrom<ValidateManifestBody> for ValidateManifestBody
impl TryFrom<ValidateManifestBody> for ValidateManifestBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ValidateManifestBody) -> Result<Self, ConversionError>
fn try_from(value: ValidateManifestBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ValidateManifestBody
impl RefUnwindSafe for ValidateManifestBody
impl Send for ValidateManifestBody
impl Sync for ValidateManifestBody
impl Unpin for ValidateManifestBody
impl UnsafeUnpin for ValidateManifestBody
impl UnwindSafe for ValidateManifestBody
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