ockam_core 0.125.0

Core types of the Ockam library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::compat::string::String;
use crate::compat::vec::Vec;

/// Additional metadata for address
#[derive(Debug, Clone, Eq, PartialEq)]
pub struct AddressMetadata {
    /// Indicates that this Address will forward message to another route, therefore the next
    /// hop after this one belongs to another node
    pub is_terminal: bool,
    /// Arbitrary set of attributes
    pub attributes: Vec<(String, String)>,
}