pub struct RepoFile {
pub name: String,
pub path: String,
pub sha: String,
pub size: Option<i32>,
pub url: String,
pub html_url: String,
pub git_url: String,
pub download_url: String,
pub file_type: String,
}Fields§
§name: String§path: String§sha: String§size: Option<i32>§url: String§html_url: String§git_url: String§download_url: String§file_type: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for RepoFile
impl<'de> Deserialize<'de> for RepoFile
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
Auto Trait Implementations§
impl Freeze for RepoFile
impl RefUnwindSafe for RepoFile
impl Send for RepoFile
impl Sync for RepoFile
impl Unpin for RepoFile
impl UnwindSafe for RepoFile
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