pub struct CommitFileEntry {
pub name: String,
pub md5: String,
}Fields§
§name: String§md5: StringImplementations§
Source§impl CommitFileEntry
impl CommitFileEntry
pub fn from_contents<T: AsRef<[u8]>>(name: String, contents: T) -> Self
Trait Implementations§
Source§impl Clone for CommitFileEntry
impl Clone for CommitFileEntry
Source§fn clone(&self) -> CommitFileEntry
fn clone(&self) -> CommitFileEntry
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 CommitFileEntry
impl Debug for CommitFileEntry
Source§impl<'de> Deserialize<'de> for CommitFileEntry
impl<'de> Deserialize<'de> for CommitFileEntry
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 CommitFileEntry
impl RefUnwindSafe for CommitFileEntry
impl Send for CommitFileEntry
impl Sync for CommitFileEntry
impl Unpin for CommitFileEntry
impl UnsafeUnpin for CommitFileEntry
impl UnwindSafe for CommitFileEntry
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