Struct ockam_core::AddressMetadata
source · pub struct AddressMetadata {
pub is_terminal: bool,
pub attributes: Vec<(String, String)>,
}
Expand description
Additional metadata for address
Fields§
§is_terminal: bool
Indicates that this Address will forward message to another route, therefore the next hop after this one belongs to another node
attributes: Vec<(String, String)>
Arbitrary set of attributes
Trait Implementations§
source§impl Clone for AddressMetadata
impl Clone for AddressMetadata
source§fn clone(&self) -> AddressMetadata
fn clone(&self) -> AddressMetadata
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 Debug for AddressMetadata
impl Debug for AddressMetadata
source§impl Default for AddressMetadata
impl Default for AddressMetadata
source§fn default() -> AddressMetadata
fn default() -> AddressMetadata
Returns the “default value” for a type. Read more
source§impl PartialEq for AddressMetadata
impl PartialEq for AddressMetadata
source§fn eq(&self, other: &AddressMetadata) -> bool
fn eq(&self, other: &AddressMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AddressMetadata
impl StructuralPartialEq for AddressMetadata
Auto Trait Implementations§
impl Freeze for AddressMetadata
impl RefUnwindSafe for AddressMetadata
impl Send for AddressMetadata
impl Sync for AddressMetadata
impl Unpin for AddressMetadata
impl UnwindSafe for AddressMetadata
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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