Struct kitsune_p2p::agent_store::agent_info_helper::AgentInfoEncode [−][src]
pub struct AgentInfoEncode {
pub space: Arc<KitsuneSpace>,
pub agent: Arc<KitsuneAgent>,
pub urls: Vec<TxUrl, Global>,
pub signed_at_ms: u64,
pub expires_after_ms: u64,
pub meta_info: Box<[u8], Global>,
}
Fields
space: Arc<KitsuneSpace>
agent: Arc<KitsuneAgent>
urls: Vec<TxUrl, Global>
signed_at_ms: u64
expires_after_ms: u64
WARNING-this is a weird offset from the signed_at_ms time!!!!
meta_info: Box<[u8], Global>
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<AgentInfoEncode, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<AgentInfoEncode, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. 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