pub struct AdminGetDocsConfigResponseConfig {
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
AdminGetDocsConfigResponseConfig
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 AdminGetDocsConfigResponseConfig
impl Clone for AdminGetDocsConfigResponseConfig
Source§fn clone(&self) -> AdminGetDocsConfigResponseConfig
fn clone(&self) -> AdminGetDocsConfigResponseConfig
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 AdminGetDocsConfigResponseConfig
impl<'de> Deserialize<'de> for AdminGetDocsConfigResponseConfig
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<&AdminGetDocsConfigResponseConfig> for AdminGetDocsConfigResponseConfig
impl From<&AdminGetDocsConfigResponseConfig> for AdminGetDocsConfigResponseConfig
Source§fn from(value: &AdminGetDocsConfigResponseConfig) -> Self
fn from(value: &AdminGetDocsConfigResponseConfig) -> Self
Converts to this type from the input type.
Source§impl From<AdminGetDocsConfigResponseConfig> for AdminGetDocsConfigResponseConfig
impl From<AdminGetDocsConfigResponseConfig> for AdminGetDocsConfigResponseConfig
Source§fn from(value: AdminGetDocsConfigResponseConfig) -> Self
fn from(value: AdminGetDocsConfigResponseConfig) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AdminGetDocsConfigResponseConfig> for AdminGetDocsConfigResponseConfig
impl TryFrom<AdminGetDocsConfigResponseConfig> for AdminGetDocsConfigResponseConfig
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: AdminGetDocsConfigResponseConfig,
) -> Result<Self, ConversionError>
fn try_from( value: AdminGetDocsConfigResponseConfig, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AdminGetDocsConfigResponseConfig
impl RefUnwindSafe for AdminGetDocsConfigResponseConfig
impl Send for AdminGetDocsConfigResponseConfig
impl Sync for AdminGetDocsConfigResponseConfig
impl Unpin for AdminGetDocsConfigResponseConfig
impl UnsafeUnpin for AdminGetDocsConfigResponseConfig
impl UnwindSafe for AdminGetDocsConfigResponseConfig
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