pub struct ContentFile {Show 14 fields
pub type: Type,
pub encoding: String,
pub size: i32,
pub name: String,
pub path: String,
pub content: String,
pub sha: String,
pub url: String,
pub git_url: Option<String>,
pub html_url: Option<String>,
pub download_url: Option<String>,
pub _links: Box<ContentTreeEntriesInnerLinks>,
pub target: Option<String>,
pub submodule_git_url: Option<String>,
}
Expand description
ContentFile : Content File
Fields§
§type: Type
§encoding: String
§size: i32
§name: String
§path: String
§content: String
§sha: String
§url: String
§git_url: Option<String>
§html_url: Option<String>
§download_url: Option<String>
§_links: Box<ContentTreeEntriesInnerLinks>
§target: Option<String>
§submodule_git_url: Option<String>
Implementations§
Source§impl ContentFile
impl ContentFile
Trait Implementations§
Source§impl Clone for ContentFile
impl Clone for ContentFile
Source§fn clone(&self) -> ContentFile
fn clone(&self) -> ContentFile
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 ContentFile
impl Debug for ContentFile
Source§impl Default for ContentFile
impl Default for ContentFile
Source§fn default() -> ContentFile
fn default() -> ContentFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentFile
impl<'de> Deserialize<'de> for ContentFile
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 PartialEq for ContentFile
impl PartialEq for ContentFile
Source§impl Serialize for ContentFile
impl Serialize for ContentFile
impl StructuralPartialEq for ContentFile
Auto Trait Implementations§
impl Freeze for ContentFile
impl RefUnwindSafe for ContentFile
impl Send for ContentFile
impl Sync for ContentFile
impl Unpin for ContentFile
impl UnwindSafe for ContentFile
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