pub struct DocumentationRequest {
pub documentation: String,
pub hub: Option<String>,
pub documentation_name: Option<String>,
pub auto_create_documentation: Option<bool>,
}Fields§
§documentation: StringUUID or slug of the documentation.
hub: Option<String>UUID or slug of the hub if the documentation is part of a hub.
documentation_name: Option<String>Name of the documentation to create. Used only if auto_create_documentation is set.
auto_create_documentation: Option<bool>Create the documentation if it does not exist yet. Must be used with a hub and a documentation.
Trait Implementations§
Source§impl Debug for DocumentationRequest
impl Debug for DocumentationRequest
Source§impl Default for DocumentationRequest
impl Default for DocumentationRequest
Source§fn default() -> DocumentationRequest
fn default() -> DocumentationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentationRequest
impl<'de> Deserialize<'de> for DocumentationRequest
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 Display for DocumentationRequest
impl Display for DocumentationRequest
Auto Trait Implementations§
impl Freeze for DocumentationRequest
impl RefUnwindSafe for DocumentationRequest
impl Send for DocumentationRequest
impl Sync for DocumentationRequest
impl Unpin for DocumentationRequest
impl UnwindSafe for DocumentationRequest
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