Struct cyfs_lib::NDNGetDataOutputRequest
source · 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 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