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