pub struct PartialAttribute {
pub name: String,
pub values: Vec<Vec<u8>>,
}Fields§
§name: String§values: Vec<Vec<u8>>Implementations§
Source§impl PartialAttribute
impl PartialAttribute
pub fn string_values(&self) -> Vec<&str>
pub fn first_string_value(&self) -> Option<&str>
pub fn first_value(&self) -> Option<&[u8]>
Trait Implementations§
Source§impl Clone for PartialAttribute
impl Clone for PartialAttribute
Source§fn clone(&self) -> PartialAttribute
fn clone(&self) -> PartialAttribute
Returns a duplicate 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 moreSource§impl Debug for PartialAttribute
impl Debug for PartialAttribute
Source§impl PartialEq for PartialAttribute
impl PartialEq for PartialAttribute
impl Eq for PartialAttribute
impl StructuralPartialEq for PartialAttribute
Auto Trait Implementations§
impl Freeze for PartialAttribute
impl RefUnwindSafe for PartialAttribute
impl Send for PartialAttribute
impl Sync for PartialAttribute
impl Unpin for PartialAttribute
impl UnsafeUnpin for PartialAttribute
impl UnwindSafe for PartialAttribute
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