pub struct File {
pub encoding: Encoding,
pub size: u32,
pub name: String,
pub path: String,
pub content: DecodedContents,
pub sha: String,
pub url: String,
pub git_url: String,
pub html_url: String,
pub download_url: String,
pub _links: Links,
}
Fields
encoding: Encoding
size: u32
name: String
path: String
content: DecodedContents
sha: String
url: String
git_url: String
html_url: String
download_url: String
_links: Links
Trait Implementations
sourceimpl<'de> Deserialize<'de> for File
impl<'de> Deserialize<'de> for File
sourcefn 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 RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more