Struct cyfs_lib::RouterWSRemoveEventParam
source · pub struct RouterWSRemoveEventParam {
pub category: RouterEventCategory,
pub id: String,
pub dec_id: Option<ObjectId>,
}
Fields
category: RouterEventCategory
id: String
dec_id: Option<ObjectId>
Trait Implementations
sourceimpl JsonCodec<RouterWSRemoveEventParam> for RouterWSRemoveEventParam
impl JsonCodec<RouterWSRemoveEventParam> for RouterWSRemoveEventParam
fn encode_json(&self) -> Map<String, Value>
fn decode_json(req_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 RouterWSRemoveEventParam
impl Send for RouterWSRemoveEventParam
impl Sync for RouterWSRemoveEventParam
impl Unpin for RouterWSRemoveEventParam
impl UnwindSafe for RouterWSRemoveEventParam
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