Struct cyfs_lib::NDNOutputRequestCommon
source · [−]pub struct NDNOutputRequestCommon {
pub req_path: Option<String>,
pub dec_id: Option<ObjectId>,
pub level: NDNAPILevel,
pub target: Option<ObjectId>,
pub referer_object: Vec<NDNDataRefererObject>,
pub flags: u32,
}
Fields
req_path: Option<String>
dec_id: Option<ObjectId>
level: NDNAPILevel
target: Option<ObjectId>
referer_object: Vec<NDNDataRefererObject>
flags: u32
Implementations
sourceimpl NDNOutputRequestCommon
impl NDNOutputRequestCommon
pub fn new(level: NDNAPILevel) -> Self
Trait Implementations
sourceimpl Clone for NDNOutputRequestCommon
impl Clone for NDNOutputRequestCommon
sourcefn clone(&self) -> NDNOutputRequestCommon
fn clone(&self) -> NDNOutputRequestCommon
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NDNOutputRequestCommon
impl Debug for NDNOutputRequestCommon
sourceimpl Display for NDNOutputRequestCommon
impl Display for NDNOutputRequestCommon
sourceimpl JsonCodec<NDNOutputRequestCommon> for NDNOutputRequestCommon
impl JsonCodec<NDNOutputRequestCommon> for NDNOutputRequestCommon
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 NDNOutputRequestCommon
impl Send for NDNOutputRequestCommon
impl Sync for NDNOutputRequestCommon
impl Unpin for NDNOutputRequestCommon
impl UnwindSafe for NDNOutputRequestCommon
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