Struct git2::MessageTrailersStrs
source · [−]pub struct MessageTrailersStrs(_);
Expand description
Collection of UTF-8-encoded trailers.
Use iter()
to get access to the values.
Implementations
sourceimpl MessageTrailersStrs
impl MessageTrailersStrs
sourcepub fn iter(&self) -> MessageTrailersStrsIterator<'_>ⓘNotable traits for MessageTrailersStrsIterator<'pair>impl<'pair> Iterator for MessageTrailersStrsIterator<'pair> type Item = (&'pair str, &'pair str);
pub fn iter(&self) -> MessageTrailersStrsIterator<'_>ⓘNotable traits for MessageTrailersStrsIterator<'pair>impl<'pair> Iterator for MessageTrailersStrsIterator<'pair> type Item = (&'pair str, &'pair str);
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 RefUnwindSafe for MessageTrailersStrs
impl !Send for MessageTrailersStrs
impl !Sync for MessageTrailersStrs
impl Unpin for MessageTrailersStrs
impl UnwindSafe for MessageTrailersStrs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more