pub struct AdminUpdateDocsConfigResponseConfig {
pub custom_sections: Vec<Value>,
pub intro_markdown: Option<String>,
pub intro_markdown_translations: Map<String, Value>,
pub outro_markdown: Option<String>,
pub outro_markdown_translations: Map<String, Value>,
}Expand description
AdminUpdateDocsConfigResponseConfig
JSON schema
{
"type": "object",
"required": [
"customSections",
"introMarkdown",
"introMarkdownTranslations",
"outroMarkdown",
"outroMarkdownTranslations"
],
"properties": {
"customSections": {
"type": "array",
"items": {}
},
"introMarkdown": {
"type": [
"string",
"null"
]
},
"introMarkdownTranslations": {
"type": "object"
},
"outroMarkdown": {
"type": [
"string",
"null"
]
},
"outroMarkdownTranslations": {
"type": "object"
}
}
}Fields§
§custom_sections: Vec<Value>§intro_markdown: Option<String>§intro_markdown_translations: Map<String, Value>§outro_markdown: Option<String>§outro_markdown_translations: Map<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for AdminUpdateDocsConfigResponseConfig
impl Clone for AdminUpdateDocsConfigResponseConfig
Source§fn clone(&self) -> AdminUpdateDocsConfigResponseConfig
fn clone(&self) -> AdminUpdateDocsConfigResponseConfig
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<'de> Deserialize<'de> for AdminUpdateDocsConfigResponseConfig
impl<'de> Deserialize<'de> for AdminUpdateDocsConfigResponseConfig
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<&AdminUpdateDocsConfigResponseConfig> for AdminUpdateDocsConfigResponseConfig
impl From<&AdminUpdateDocsConfigResponseConfig> for AdminUpdateDocsConfigResponseConfig
Source§fn from(value: &AdminUpdateDocsConfigResponseConfig) -> Self
fn from(value: &AdminUpdateDocsConfigResponseConfig) -> Self
Converts to this type from the input type.
Source§impl From<AdminUpdateDocsConfigResponseConfig> for AdminUpdateDocsConfigResponseConfig
impl From<AdminUpdateDocsConfigResponseConfig> for AdminUpdateDocsConfigResponseConfig
Source§fn from(value: AdminUpdateDocsConfigResponseConfig) -> Self
fn from(value: AdminUpdateDocsConfigResponseConfig) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AdminUpdateDocsConfigResponseConfig> for AdminUpdateDocsConfigResponseConfig
impl TryFrom<AdminUpdateDocsConfigResponseConfig> for AdminUpdateDocsConfigResponseConfig
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: AdminUpdateDocsConfigResponseConfig,
) -> Result<Self, ConversionError>
fn try_from( value: AdminUpdateDocsConfigResponseConfig, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AdminUpdateDocsConfigResponseConfig
impl RefUnwindSafe for AdminUpdateDocsConfigResponseConfig
impl Send for AdminUpdateDocsConfigResponseConfig
impl Sync for AdminUpdateDocsConfigResponseConfig
impl Unpin for AdminUpdateDocsConfigResponseConfig
impl UnsafeUnpin for AdminUpdateDocsConfigResponseConfig
impl UnwindSafe for AdminUpdateDocsConfigResponseConfig
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