pub struct ForEachRefContents<'a> {
pub message: Cow<'a, [u8]>,
pub tree: Option<ObjectId>,
pub parents: Vec<ObjectId>,
pub tag: Option<Cow<'a, [u8]>>,
pub tag_object_type: Option<ObjectType>,
pub tag_object: Option<ObjectId>,
pub author: Option<Cow<'a, [u8]>>,
pub committer: Option<Cow<'a, [u8]>>,
pub tagger: Option<Cow<'a, [u8]>>,
pub creator: Option<Cow<'a, [u8]>>,
}Fields§
§message: Cow<'a, [u8]>§tree: Option<ObjectId>§parents: Vec<ObjectId>§tag: Option<Cow<'a, [u8]>>§tag_object_type: Option<ObjectType>§tag_object: Option<ObjectId>§committer: Option<Cow<'a, [u8]>>§tagger: Option<Cow<'a, [u8]>>§creator: Option<Cow<'a, [u8]>>Implementations§
Source§impl ForEachRefContents<'_>
impl ForEachRefContents<'_>
pub fn into_owned(self) -> ForEachRefContents<'static>
Trait Implementations§
Source§impl<'a> Clone for ForEachRefContents<'a>
impl<'a> Clone for ForEachRefContents<'a>
Source§fn clone(&self) -> ForEachRefContents<'a>
fn clone(&self) -> ForEachRefContents<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for ForEachRefContents<'a>
impl<'a> RefUnwindSafe for ForEachRefContents<'a>
impl<'a> Send for ForEachRefContents<'a>
impl<'a> Sync for ForEachRefContents<'a>
impl<'a> Unpin for ForEachRefContents<'a>
impl<'a> UnsafeUnpin for ForEachRefContents<'a>
impl<'a> UnwindSafe for ForEachRefContents<'a>
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