pub struct CommitFileList { /* private fields */ }Implementations§
Source§impl CommitFileList
impl CommitFileList
pub fn new() -> Self
pub fn add_entry(&mut self, entry: CommitFileEntry)
pub fn add_file_md5(&mut self, name: String, md5: String)
pub fn add_file_from_contents(&mut self, name: String, contents: &[u8])
pub fn entry(self, entry: CommitFileEntry) -> Self
pub fn file_md5(self, name: String, md5: String) -> Self
pub fn file_from_contents(self, name: String, contents: &[u8]) -> Self
Trait Implementations§
Source§impl Clone for CommitFileList
impl Clone for CommitFileList
Source§fn clone(&self) -> CommitFileList
fn clone(&self) -> CommitFileList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommitFileList
impl Debug for CommitFileList
Source§impl Default for CommitFileList
impl Default for CommitFileList
Source§fn default() -> CommitFileList
fn default() -> CommitFileList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommitFileList
impl<'de> Deserialize<'de> for CommitFileList
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 CommitFileList
impl RefUnwindSafe for CommitFileList
impl Send for CommitFileList
impl Sync for CommitFileList
impl Unpin for CommitFileList
impl UnsafeUnpin for CommitFileList
impl UnwindSafe for CommitFileList
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