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: String
§hub: String
§documentation_name: String
§auto_create_documentation: bool
§definition: String
§references: Vec<Reference>
§branch_name: String
§previous_version_id: String
§unpublished: bool
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PostVersionsRequest<'a>
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§
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