Struct octocrab::gists::UpdateGistBuilder
source · pub struct UpdateGistBuilder<'octo> { /* private fields */ }
Implementations§
source§impl<'octo> UpdateGistBuilder<'octo>
impl<'octo> UpdateGistBuilder<'octo>
sourcepub fn description(self, description: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
Update the description of the gist with the content provided by description
.
sourcepub fn file(self, filename: impl Into<String>) -> UpdateGistFileBuilder<'octo>
pub fn file(self, filename: impl Into<String>) -> UpdateGistFileBuilder<'octo>
Update the file with the filename
.
The update operation is chosen in further calls to the returned builder.
Trait Implementations§
Auto Trait Implementations§
impl<'octo> Freeze for UpdateGistBuilder<'octo>
impl<'octo> !RefUnwindSafe for UpdateGistBuilder<'octo>
impl<'octo> Send for UpdateGistBuilder<'octo>
impl<'octo> Sync for UpdateGistBuilder<'octo>
impl<'octo> Unpin for UpdateGistBuilder<'octo>
impl<'octo> !UnwindSafe for UpdateGistBuilder<'octo>
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