pub struct GitBlobResponse {
pub content: Option<String>,
pub encoding: Option<String>,
pub sha: Option<String>,
pub size: Option<i64>,
pub url: Option<String>,
}
Expand description
GitBlobResponse : GitBlobResponse represents a git blob
Fields§
§content: Option<String>
§encoding: Option<String>
§sha: Option<String>
§size: Option<i64>
§url: Option<String>
Implementations§
Source§impl GitBlobResponse
impl GitBlobResponse
Sourcepub fn new() -> GitBlobResponse
pub fn new() -> GitBlobResponse
GitBlobResponse represents a git blob
Trait Implementations§
Source§impl Clone for GitBlobResponse
impl Clone for GitBlobResponse
Source§fn clone(&self) -> GitBlobResponse
fn clone(&self) -> GitBlobResponse
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 Debug for GitBlobResponse
impl Debug for GitBlobResponse
Source§impl Default for GitBlobResponse
impl Default for GitBlobResponse
Source§fn default() -> GitBlobResponse
fn default() -> GitBlobResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitBlobResponse
impl<'de> Deserialize<'de> for GitBlobResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GitBlobResponse
impl PartialEq for GitBlobResponse
Source§impl Serialize for GitBlobResponse
impl Serialize for GitBlobResponse
impl StructuralPartialEq for GitBlobResponse
Auto Trait Implementations§
impl Freeze for GitBlobResponse
impl RefUnwindSafe for GitBlobResponse
impl Send for GitBlobResponse
impl Sync for GitBlobResponse
impl Unpin for GitBlobResponse
impl UnwindSafe for GitBlobResponse
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