pub struct ContentRequest {
pub request_id: String,
pub flow_ref: FlowRef,
pub content_identity: Option<ContentIdentity>,
}Expand description
Request for content from a remote peer
Fields§
§request_id: StringUnique request ID for correlation
flow_ref: FlowRefReference to the content being requested
content_identity: Option<ContentIdentity>Expected content identity for verification
Implementations§
Trait Implementations§
Source§impl Clone for ContentRequest
impl Clone for ContentRequest
Source§impl Debug for ContentRequest
impl Debug for ContentRequest
Source§impl<'de> Deserialize<'de> for ContentRequest
impl<'de> Deserialize<'de> for ContentRequest
Source§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 Freeze for ContentRequest
impl RefUnwindSafe for ContentRequest
impl Send for ContentRequest
impl Sync for ContentRequest
impl Unpin for ContentRequest
impl UnsafeUnpin for ContentRequest
impl UnwindSafe for ContentRequest
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