Struct cyfs_lib::NONGetObjectInputResponse
source · pub struct NONGetObjectInputResponse {
pub object_update_time: Option<u64>,
pub object_expires_time: Option<u64>,
pub object: NONObjectInfo,
pub attr: Option<Attributes>,
}
Fields
object_update_time: Option<u64>
object_expires_time: Option<u64>
object: NONObjectInfo
attr: Option<Attributes>
Implementations
sourceimpl NONGetObjectInputResponse
impl NONGetObjectInputResponse
pub fn new(
object_id: ObjectId,
object_raw: Vec<u8>,
object: Option<Arc<AnyNamedObject>>
) -> Self
pub fn new_with_object(object: NONObjectInfo) -> Self
pub fn init_times(&mut self) -> BuckyResult<()>
Trait Implementations
sourceimpl Debug for NONGetObjectInputResponse
impl Debug for NONGetObjectInputResponse
sourceimpl Display for NONGetObjectInputResponse
impl Display for NONGetObjectInputResponse
sourceimpl ExpReservedTokenTranslator for NONGetObjectInputResponse
impl ExpReservedTokenTranslator for NONGetObjectInputResponse
fn trans(&self, token: &str) -> ExpTokenEvalValue
sourceimpl JsonCodec<NONGetObjectInputResponse> for NONGetObjectInputResponse
impl JsonCodec<NONGetObjectInputResponse> for NONGetObjectInputResponse
fn encode_json(&self) -> Map<String, Value>
fn decode_json(
obj: &Map<String, Value>
) -> BuckyResult<NONGetObjectInputResponse>
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 NONGetObjectInputResponse
impl Send for NONGetObjectInputResponse
impl Sync for NONGetObjectInputResponse
impl Unpin for NONGetObjectInputResponse
impl UnwindSafe for NONGetObjectInputResponse
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