Struct radicle_git_ext::commit::trailers::OwnedTrailer
source · pub struct OwnedTrailer {
pub token: OwnedToken,
pub value: String,
}
Expand description
A version of the Trailer
which owns its token and
value. Useful for when you need to carry trailers around in a long
lived data structure.
Fields§
§token: OwnedToken
§value: String
Trait Implementations§
source§impl Debug for OwnedTrailer
impl Debug for OwnedTrailer
source§impl<'a> From<&'a OwnedTrailer> for Trailer<'a>
impl<'a> From<&'a OwnedTrailer> for Trailer<'a>
source§fn from(t: &'a OwnedTrailer) -> Self
fn from(t: &'a OwnedTrailer) -> Self
Converts to this type from the input type.