pub struct Entry {Show 15 fields
pub links: FileLinks,
pub content: Option<String>,
pub download_url: Option<String>,
pub encoding: Option<String>,
pub git_url: String,
pub html_url: String,
pub last_commit_sha: String,
pub name: String,
pub path: Option<String>,
pub sha: String,
pub size: u64,
pub submodule_git_url: Option<String>,
pub target: Option<String>,
pub type: String,
pub url: String,
}
Expand description
Entry represents metadata and contents of a file
Fields§
§links: FileLinks
Entry links
content: Option<String>
Entry content
download_url: Option<String>
Entry download URL
encoding: Option<String>
Entry encoding type
git_url: String
Entry Git url
html_url: String
Entry HTML url
last_commit_sha: String
Entry last commit SHA
name: String
Entry name
path: Option<String>
Entry path
sha: String
Entry SHA
size: u64
Entry size
submodule_git_url: Option<String>
Entry submodule git url
target: Option<String>
Entry target
type: String
Entry type
url: String
Entry URL
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
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 Ord for Entry
impl Ord for Entry
Source§impl PartialOrd for Entry
impl PartialOrd for Entry
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.