Struct cyfs_lib::NDNInputRequestCommon
source · [−]pub struct NDNInputRequestCommon {
pub req_path: Option<String>,
pub source: RequestSourceInfo,
pub level: NDNAPILevel,
pub referer_object: Vec<NDNDataRefererObject>,
pub target: Option<ObjectId>,
pub flags: u32,
pub user_data: Option<NDNInputRequestUserData>,
}
Fields
req_path: Option<String>
source: RequestSourceInfo
level: NDNAPILevel
referer_object: Vec<NDNDataRefererObject>
target: Option<ObjectId>
flags: u32
user_data: Option<NDNInputRequestUserData>
Trait Implementations
sourceimpl Clone for NDNInputRequestCommon
impl Clone for NDNInputRequestCommon
sourcefn clone(&self) -> NDNInputRequestCommon
fn clone(&self) -> NDNInputRequestCommon
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NDNInputRequestCommon
impl Debug for NDNInputRequestCommon
sourceimpl Display for NDNInputRequestCommon
impl Display for NDNInputRequestCommon
sourceimpl JsonCodec<NDNInputRequestCommon> for NDNInputRequestCommon
impl JsonCodec<NDNInputRequestCommon> for NDNInputRequestCommon
fn encode_json(&self) -> Map<String, Value>
fn decode_json(obj: &Map<String, Value>) -> BuckyResult<Self>
fn encode_string(&self) -> String
fn decode_string(value: &str) -> Result<T, BuckyError>
fn decode_value(value: &Value) -> Result<T, BuckyError>
fn encode_value(&self) -> Value
Auto Trait Implementations
impl !RefUnwindSafe for NDNInputRequestCommon
impl Send for NDNInputRequestCommon
impl Sync for NDNInputRequestCommon
impl Unpin for NDNInputRequestCommon
impl !UnwindSafe for NDNInputRequestCommon
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more