Struct rpsl::AttributeView
source · pub struct AttributeView<'a> {
pub name: NameView<'a>,
pub value: ValueView<'a>,
}
Expand description
A view into an attribute of an RPSL object in textual representation somewhere in memory.
Fields§
§name: NameView<'a>
The name of the referenced attribute.
value: ValueView<'a>
The value of the referenced attribute.
Implementations§
Trait Implementations§
source§impl<'a> Clone for AttributeView<'a>
impl<'a> Clone for AttributeView<'a>
source§fn clone(&self) -> AttributeView<'a>
fn clone(&self) -> AttributeView<'a>
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 moresource§impl<'a> Debug for AttributeView<'a>
impl<'a> Debug for AttributeView<'a>
source§impl PartialEq<Attribute> for AttributeView<'_>
impl PartialEq<Attribute> for AttributeView<'_>
source§impl<'a> PartialEq for AttributeView<'a>
impl<'a> PartialEq for AttributeView<'a>
source§fn eq(&self, other: &AttributeView<'a>) -> bool
fn eq(&self, other: &AttributeView<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for AttributeView<'a>
impl<'a> StructuralEq for AttributeView<'a>
impl<'a> StructuralPartialEq for AttributeView<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AttributeView<'a>
impl<'a> Send for AttributeView<'a>
impl<'a> Sync for AttributeView<'a>
impl<'a> Unpin for AttributeView<'a>
impl<'a> UnwindSafe for AttributeView<'a>
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