pub struct MetadataKeyValue {
pub file_name: MetadataFileName,
pub key: String,
pub value: String,
}
Expand description
A single key-value pair from a type of alpm-package metadata file.
Fields§
§file_name: MetadataFileName
The file name of the metadata type.
key: String
The key of one piece of metadata in file_name
.
value: String
The value associated with the key
of one piece of metadata in file_name
.
Trait Implementations§
Source§impl Clone for MetadataKeyValue
impl Clone for MetadataKeyValue
Source§fn clone(&self) -> MetadataKeyValue
fn clone(&self) -> MetadataKeyValue
Returns a copy of the value. Read more
1.0.0 · 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 Freeze for MetadataKeyValue
impl RefUnwindSafe for MetadataKeyValue
impl Send for MetadataKeyValue
impl Sync for MetadataKeyValue
impl Unpin for MetadataKeyValue
impl UnwindSafe for MetadataKeyValue
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