Struct github_rest::builders::PatchGistBuilder
source · pub struct PatchGistBuilder { /* private fields */ }
Expand description
- tags gists
- patch
/gists/{gist_id}
- docs https://docs.github.com/rest/reference/gists/#update-a-gist
Update a gist Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren’t explicitly changed during an edit are unchanged.
Implementations§
source§impl PatchGistBuilder
impl PatchGistBuilder
pub fn description<T: Into<String>>(self, description: T) -> Self
Trait Implementations§
source§impl Builder for PatchGistBuilder
impl Builder for PatchGistBuilder
source§impl Clone for PatchGistBuilder
impl Clone for PatchGistBuilder
source§fn clone(&self) -> PatchGistBuilder
fn clone(&self) -> PatchGistBuilder
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 PatchGistBuilder
impl Default for PatchGistBuilder
source§fn default() -> PatchGistBuilder
fn default() -> PatchGistBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PatchGistBuilder
impl Send for PatchGistBuilder
impl Sync for PatchGistBuilder
impl Unpin for PatchGistBuilder
impl UnwindSafe for PatchGistBuilder
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