Struct cyfs_lib::NDNGetDataOutputRequest
source · pub struct NDNGetDataOutputRequest {
pub common: NDNOutputRequestCommon,
pub object_id: ObjectId,
pub range: Option<NDNDataRequestRange>,
pub inner_path: Option<String>,
}
Fields
common: NDNOutputRequestCommon
object_id: ObjectId
range: Option<NDNDataRequestRange>
inner_path: Option<String>
Implementations
sourceimpl 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
Trait Implementations
sourceimpl Clone for NDNGetDataOutputRequest
impl Clone for NDNGetDataOutputRequest
sourcefn clone(&self) -> NDNGetDataOutputRequest
fn clone(&self) -> NDNGetDataOutputRequest
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 moreAuto Trait Implementations
impl RefUnwindSafe for NDNGetDataOutputRequest
impl Send for NDNGetDataOutputRequest
impl Sync for NDNGetDataOutputRequest
impl Unpin for NDNGetDataOutputRequest
impl UnwindSafe for NDNGetDataOutputRequest
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