Struct cyfs_lib::NDNGetDataInputRequest
source · [−]pub struct NDNGetDataInputRequest {
pub common: NDNInputRequestCommon,
pub object_id: ObjectId,
pub data_type: NDNDataType,
pub range: Option<NDNDataRequestRange>,
pub inner_path: Option<String>,
}
Fields
common: NDNInputRequestCommon
object_id: ObjectId
data_type: NDNDataType
range: Option<NDNDataRequestRange>
inner_path: Option<String>
Trait Implementations
sourceimpl Clone for NDNGetDataInputRequest
impl Clone for NDNGetDataInputRequest
sourcefn clone(&self) -> NDNGetDataInputRequest
fn clone(&self) -> NDNGetDataInputRequest
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 moresourceimpl Display for NDNGetDataInputRequest
impl Display for NDNGetDataInputRequest
sourceimpl ExpReservedTokenTranslator for NDNGetDataInputRequest
impl ExpReservedTokenTranslator for NDNGetDataInputRequest
fn trans(&self, token: &str) -> ExpTokenEvalValue
sourceimpl JsonCodec<NDNGetDataInputRequest> for NDNGetDataInputRequest
impl JsonCodec<NDNGetDataInputRequest> for NDNGetDataInputRequest
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
sourceimpl RequestDecChecker for NDNGetDataInputRequest
impl RequestDecChecker for NDNGetDataInputRequest
fn check(&self, dec_id: &ObjectId) -> RequestDecType
Auto Trait Implementations
impl !RefUnwindSafe for NDNGetDataInputRequest
impl Send for NDNGetDataInputRequest
impl Sync for NDNGetDataInputRequest
impl Unpin for NDNGetDataInputRequest
impl !UnwindSafe for NDNGetDataInputRequest
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