pub struct GitBlob {
pub content: Option<String>,
pub encoding: Option<String>,
pub sha: Option<String>,
pub size: Option<i64>,
pub url: Option<Url>,
}Expand description
GitBlob represents a git blob
Fields§
§content: Option<String>§encoding: Option<String>§sha: Option<String>§size: Option<i64>§url: Option<Url>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GitBlob
impl<'de> Deserialize<'de> for GitBlob
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 FromResponse for GitBlob
impl FromResponse for GitBlob
fn from_response( response: ApiResponse, has_body: bool, ) -> Result<Self, StructureError>
impl StructuralPartialEq for GitBlob
Auto Trait Implementations§
impl Freeze for GitBlob
impl RefUnwindSafe for GitBlob
impl Send for GitBlob
impl Sync for GitBlob
impl Unpin for GitBlob
impl UnwindSafe for GitBlob
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