Struct bump_api::model::DocumentationRequest
source · [−]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
sourceimpl Debug for DocumentationRequest
impl Debug for DocumentationRequest
sourceimpl Default for DocumentationRequest
impl Default for DocumentationRequest
sourcefn default() -> DocumentationRequest
fn default() -> DocumentationRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DocumentationRequest
impl<'de> Deserialize<'de> for DocumentationRequest
sourcefn 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
sourceimpl Display for DocumentationRequest
impl Display for DocumentationRequest
sourceimpl Serialize for DocumentationRequest
impl Serialize for DocumentationRequest
Auto Trait Implementations
impl RefUnwindSafe for DocumentationRequest
impl Send for DocumentationRequest
impl Sync for DocumentationRequest
impl Unpin for DocumentationRequest
impl UnwindSafe for DocumentationRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more