pub struct JsInterfaceView {
pub interface_id: String,
pub view_status: Box<JsStatus>,
pub view_value: Option<Option<Value>>,
}
Expand description
JsInterfaceView : View of a create event matched by an interface filter.
Fields§
§interface_id: String
The interface implemented by the matched event. The identifier uses the package-id reference format. Required
view_status: Box<JsStatus>
§view_value: Option<Option<Value>>
The value of the interface’s view method on this event. Set if it was requested in the InterfaceFilter
and it could be sucessfully computed. Optional
Implementations§
Source§impl JsInterfaceView
impl JsInterfaceView
Sourcepub fn new(interface_id: String, view_status: JsStatus) -> JsInterfaceView
pub fn new(interface_id: String, view_status: JsStatus) -> JsInterfaceView
View of a create event matched by an interface filter.
Trait Implementations§
Source§impl Clone for JsInterfaceView
impl Clone for JsInterfaceView
Source§fn clone(&self) -> JsInterfaceView
fn clone(&self) -> JsInterfaceView
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for JsInterfaceView
impl Debug for JsInterfaceView
Source§impl Default for JsInterfaceView
impl Default for JsInterfaceView
Source§fn default() -> JsInterfaceView
fn default() -> JsInterfaceView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JsInterfaceView
impl<'de> Deserialize<'de> for JsInterfaceView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JsInterfaceView
impl PartialEq for JsInterfaceView
Source§impl Serialize for JsInterfaceView
impl Serialize for JsInterfaceView
impl StructuralPartialEq for JsInterfaceView
Auto Trait Implementations§
impl Freeze for JsInterfaceView
impl RefUnwindSafe for JsInterfaceView
impl Send for JsInterfaceView
impl Sync for JsInterfaceView
impl Unpin for JsInterfaceView
impl UnwindSafe for JsInterfaceView
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