Struct bump_api::request::PostVersionsRequest
source · [−]pub struct PostVersionsRequest<'a> {
pub documentation: String,
pub hub: String,
pub documentation_name: String,
pub auto_create_documentation: bool,
pub definition: String,
pub references: Vec<Reference>,
pub branch_name: String,
pub previous_version_id: String,
pub unpublished: bool,
/* private fields */
}Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields
documentation: Stringhub: Stringdocumentation_name: Stringauto_create_documentation: booldefinition: Stringreferences: Vec<Reference>branch_name: Stringprevious_version_id: Stringunpublished: boolImplementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PostVersionsRequest<'a>
impl<'a> Send for PostVersionsRequest<'a>
impl<'a> Sync for PostVersionsRequest<'a>
impl<'a> Unpin for PostVersionsRequest<'a>
impl<'a> !UnwindSafe for PostVersionsRequest<'a>
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