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§
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
Trait Implementations§
source§impl Clone for NDNGetDataOutputRequest
impl Clone for NDNGetDataOutputRequest
source§fn clone(&self) -> NDNGetDataOutputRequest
fn clone(&self) -> NDNGetDataOutputRequest
Returns a copy 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 more