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: u32Implementations§
Source§impl NDNOutputRequestCommon
impl NDNOutputRequestCommon
pub fn new(level: NDNAPILevel) -> Self
Trait Implementations§
Source§impl Clone for NDNOutputRequestCommon
impl Clone for NDNOutputRequestCommon
Source§fn clone(&self) -> NDNOutputRequestCommon
fn clone(&self) -> NDNOutputRequestCommon
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NDNOutputRequestCommon
impl Debug for NDNOutputRequestCommon
Source§impl<'de> Deserialize<'de> for NDNOutputRequestCommon
impl<'de> Deserialize<'de> for NDNOutputRequestCommon
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
Source§impl Display for NDNOutputRequestCommon
impl Display for NDNOutputRequestCommon
Source§impl 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 Freeze for NDNOutputRequestCommon
impl RefUnwindSafe for NDNOutputRequestCommon
impl Send for NDNOutputRequestCommon
impl Sync for NDNOutputRequestCommon
impl Unpin for NDNOutputRequestCommon
impl UnwindSafe for NDNOutputRequestCommon
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more