Struct cyfs_lib::RespInterestFields
source · [−]pub struct RespInterestFields {
pub err: BuckyErrorCode,
pub redirect: Option<DeviceId>,
pub redirect_referer_target: Option<ObjectId>,
}
Fields
err: BuckyErrorCode
redirect: Option<DeviceId>
redirect_referer_target: Option<ObjectId>
Trait Implementations
sourceimpl Clone for RespInterestFields
impl Clone for RespInterestFields
sourcefn clone(&self) -> RespInterestFields
fn clone(&self) -> RespInterestFields
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Display for RespInterestFields
impl Display for RespInterestFields
sourceimpl JsonCodec<RespInterestFields> for RespInterestFields
impl JsonCodec<RespInterestFields> for RespInterestFields
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 RespInterestFields
impl Send for RespInterestFields
impl Sync for RespInterestFields
impl Unpin for RespInterestFields
impl UnwindSafe for RespInterestFields
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