Struct git2::MessageTrailersStrs
source · pub struct MessageTrailersStrs(/* private fields */);
Expand description
Collection of UTF-8-encoded trailers.
Use iter()
to get access to the values.
Implementations§
source§impl MessageTrailersStrs
impl MessageTrailersStrs
sourcepub fn iter(&self) -> MessageTrailersStrsIterator<'_> ⓘ
pub fn iter(&self) -> MessageTrailersStrsIterator<'_> ⓘ
Create a borrowed iterator.
sourcepub fn to_bytes(self) -> MessageTrailersBytes
pub fn to_bytes(self) -> MessageTrailersBytes
Convert to the “bytes” variant.
Auto Trait Implementations§
impl Freeze for MessageTrailersStrs
impl RefUnwindSafe for MessageTrailersStrs
impl !Send for MessageTrailersStrs
impl !Sync for MessageTrailersStrs
impl Unpin for MessageTrailersStrs
impl UnwindSafe for MessageTrailersStrs
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