Struct cyfs_lib::NDNQueryFileInfo
source · pub struct NDNQueryFileInfo {
pub file_id: FileId,
pub hash: String,
pub length: u64,
pub flags: u32,
pub owner: Option<ObjectId>,
pub quick_hash: Option<Vec<String>>,
pub ref_dirs: Option<Vec<FileDirRef>>,
}
Fields
file_id: FileId
hash: String
length: u64
flags: u32
owner: Option<ObjectId>
quick_hash: Option<Vec<String>>
ref_dirs: Option<Vec<FileDirRef>>
Trait Implementations
sourceimpl Display for NDNQueryFileInfo
impl Display for NDNQueryFileInfo
sourceimpl JsonCodec<NDNQueryFileInfo> for NDNQueryFileInfo
impl JsonCodec<NDNQueryFileInfo> for NDNQueryFileInfo
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
Auto Trait Implementations
impl RefUnwindSafe for NDNQueryFileInfo
impl Send for NDNQueryFileInfo
impl Sync for NDNQueryFileInfo
impl Unpin for NDNQueryFileInfo
impl UnwindSafe for NDNQueryFileInfo
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