pub struct InvalidatedEventBody {
pub areas: Vec<InvalidatedAreas>,
pub thread_id: Option<i32>,
pub stack_frame_id: Option<i32>,
/* private fields */
}
Fields§
§areas: Vec<InvalidatedAreas>
Optional set of logical areas that got invalidated. This property has a hint characteristic: a client can only be expected to make a ‘best effort’ in honouring the areas but there are no guarantees. If this property is missing, empty, or if values are not understand the client should assume a single value ‘all’.
thread_id: Option<i32>
If specified, the client only needs to refetch data related to this thread.
stack_frame_id: Option<i32>
If specified, the client only needs to refetch data related to this stack frame (and the ‘threadId’ is ignored).
Implementations§
Source§impl InvalidatedEventBody
impl InvalidatedEventBody
Sourcepub fn builder() -> InvalidatedEventBodyBuilder<((), (), ())>
pub fn builder() -> InvalidatedEventBodyBuilder<((), (), ())>
Create a builder for building InvalidatedEventBody
.
On the builder, call .areas(...)
(optional), .thread_id(...)
(optional), .stack_frame_id(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of InvalidatedEventBody
.
Trait Implementations§
Source§impl Clone for InvalidatedEventBody
impl Clone for InvalidatedEventBody
Source§fn clone(&self) -> InvalidatedEventBody
fn clone(&self) -> InvalidatedEventBody
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for InvalidatedEventBody
impl Debug for InvalidatedEventBody
Source§impl<'de> Deserialize<'de> for InvalidatedEventBody
impl<'de> Deserialize<'de> for InvalidatedEventBody
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>,
Source§impl From<InvalidatedEventBody> for Event
impl From<InvalidatedEventBody> for Event
Source§fn from(body: InvalidatedEventBody) -> Self
fn from(body: InvalidatedEventBody) -> Self
Source§impl From<InvalidatedEventBody> for ProtocolMessageContent
impl From<InvalidatedEventBody> for ProtocolMessageContent
Source§fn from(body: InvalidatedEventBody) -> Self
fn from(body: InvalidatedEventBody) -> Self
Source§impl PartialEq for InvalidatedEventBody
impl PartialEq for InvalidatedEventBody
Source§impl Serialize for InvalidatedEventBody
impl Serialize for InvalidatedEventBody
impl Eq for InvalidatedEventBody
impl StructuralPartialEq for InvalidatedEventBody
Auto Trait Implementations§
impl Freeze for InvalidatedEventBody
impl RefUnwindSafe for InvalidatedEventBody
impl Send for InvalidatedEventBody
impl Sync for InvalidatedEventBody
impl Unpin for InvalidatedEventBody
impl UnwindSafe for InvalidatedEventBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.