pub struct PublishedGist {
pub id: String,
pub description: Option<String>,
pub public: bool,
pub url: String,
pub files: Vec<String>,
}Expand description
A gist recovered from gh api, refined to what the shell shows and acts on.
Fields§
§id: String§description: Option<String>§public: bool§url: String§files: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for PublishedGist
impl Clone for PublishedGist
Source§fn clone(&self) -> PublishedGist
fn clone(&self) -> PublishedGist
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PublishedGist
impl Debug for PublishedGist
impl Eq for PublishedGist
Source§impl PartialEq for PublishedGist
impl PartialEq for PublishedGist
impl StructuralPartialEq for PublishedGist
Auto Trait Implementations§
impl Freeze for PublishedGist
impl RefUnwindSafe for PublishedGist
impl Send for PublishedGist
impl Sync for PublishedGist
impl Unpin for PublishedGist
impl UnsafeUnpin for PublishedGist
impl UnwindSafe for PublishedGist
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more