pub struct ApiContent {
pub encoding: Option<String>,
pub entries: Option<Vec<Value>>,
pub path: Option<String>,
pub type: Option<String>,
pub size: Option<i64>,
pub name: Option<String>,
pub content: Option<String>,
pub sha: Option<String>,
pub lfs_download_url: Option<String>,
}
Expand description
ApiContent 模型
Fields§
§encoding: Option<String>
§entries: Option<Vec<Value>>
§path: Option<String>
§type: Option<String>
§size: Option<i64>
§name: Option<String>
§content: Option<String>
§sha: Option<String>
§lfs_download_url: Option<String>
Trait Implementations§
Source§impl Clone for ApiContent
impl Clone for ApiContent
Source§fn clone(&self) -> ApiContent
fn clone(&self) -> ApiContent
Returns a duplicate 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 ApiContent
impl Debug for ApiContent
Source§impl<'de> Deserialize<'de> for ApiContent
impl<'de> Deserialize<'de> for ApiContent
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 ApiContent
impl RefUnwindSafe for ApiContent
impl Send for ApiContent
impl Sync for ApiContent
impl Unpin for ApiContent
impl UnwindSafe for ApiContent
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