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§
Source§impl 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§
Source§impl Debug for NONGetObjectInputResponse
impl Debug for NONGetObjectInputResponse
Source§impl Display for NONGetObjectInputResponse
impl Display for NONGetObjectInputResponse
Source§impl ExpReservedTokenTranslator for NONGetObjectInputResponse
impl ExpReservedTokenTranslator for NONGetObjectInputResponse
fn trans(&self, token: &str) -> ExpTokenEvalValue
Source§impl 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 Freeze for NONGetObjectInputResponse
impl RefUnwindSafe for NONGetObjectInputResponse
impl Send for NONGetObjectInputResponse
impl Sync for NONGetObjectInputResponse
impl Unpin for NONGetObjectInputResponse
impl UnwindSafe for NONGetObjectInputResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more