Struct kitsune_p2p_types::agent_info::agent_info_helper::AgentInfoEncode [−][src]
pub struct AgentInfoEncode {
pub space: Arc<KitsuneSpace>,
pub agent: Arc<KitsuneAgent>,
pub urls: UrlList,
pub signed_at_ms: u64,
pub expires_after_ms: u64,
pub meta_info: Box<[u8]>,
}
Fields
space: Arc<KitsuneSpace>
agent: Arc<KitsuneAgent>
urls: UrlList
signed_at_ms: u64
expires_after_ms: u64
WARNING-this is a weird offset from the signed_at_ms time!!!!
meta_info: Box<[u8]>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for AgentInfoEncode
impl Send for AgentInfoEncode
impl Sync for AgentInfoEncode
impl Unpin for AgentInfoEncode
impl UnwindSafe for AgentInfoEncode
Blanket Implementations
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more