Struct github_rest::builders::CreateGistBuilder
source · pub struct CreateGistBuilder { /* private fields */ }
Expand description
- tags gists
- post
/gists
- docs https://docs.github.com/rest/reference/gists#create-a-gist
Create a gist Allows you to add a new gist with one or more files.
Note: Don’t name your files “gistfile” with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.
Implementations§
source§impl CreateGistBuilder
impl CreateGistBuilder
pub fn description<T: Into<String>>(self, description: T) -> Self
Trait Implementations§
source§impl Builder for CreateGistBuilder
impl Builder for CreateGistBuilder
source§impl Clone for CreateGistBuilder
impl Clone for CreateGistBuilder
source§fn clone(&self) -> CreateGistBuilder
fn clone(&self) -> CreateGistBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateGistBuilder
impl Default for CreateGistBuilder
source§fn default() -> CreateGistBuilder
fn default() -> CreateGistBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CreateGistBuilder
impl Send for CreateGistBuilder
impl Sync for CreateGistBuilder
impl Unpin for CreateGistBuilder
impl UnwindSafe for CreateGistBuilder
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