pub struct NDNGetDataOutputRequest {
pub common: NDNOutputRequestCommon,
pub object_id: ObjectId,
pub range: Option<NDNDataRequestRange>,
pub inner_path: Option<String>,
pub context: Option<String>,
pub group: Option<String>,
}Fields§
§common: NDNOutputRequestCommon§object_id: ObjectId§range: Option<NDNDataRequestRange>§inner_path: Option<String>§context: Option<String>§group: Option<String>Implementations§
Source§impl NDNGetDataOutputRequest
impl NDNGetDataOutputRequest
pub fn new( level: NDNAPILevel, object_id: ObjectId, inner_path: Option<String>, ) -> Self
pub fn new_ndc(object_id: ObjectId, inner_path: Option<String>) -> Self
pub fn new_ndn( target: Option<DeviceId>, object_id: ObjectId, inner_path: Option<String>, ) -> Self
pub fn new_router( target: Option<ObjectId>, object_id: ObjectId, inner_path: Option<String>, ) -> Self
pub fn new_context( context: impl Into<String>, object_id: ObjectId, inner_path: Option<String>, ) -> Self
Trait Implementations§
Source§impl Clone for NDNGetDataOutputRequest
impl Clone for NDNGetDataOutputRequest
Source§fn clone(&self) -> NDNGetDataOutputRequest
fn clone(&self) -> NDNGetDataOutputRequest
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 moreAuto Trait Implementations§
impl Freeze for NDNGetDataOutputRequest
impl RefUnwindSafe for NDNGetDataOutputRequest
impl Send for NDNGetDataOutputRequest
impl Sync for NDNGetDataOutputRequest
impl Unpin for NDNGetDataOutputRequest
impl UnwindSafe for NDNGetDataOutputRequest
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