pub struct DataBreakpoint {
pub data_id: String,
pub access_type: Option<DataBreakpointAccessType>,
pub condition: Option<String>,
pub hit_condition: Option<String>,
/* private fields */
}
Expand description
Properties of a data breakpoint passed to the setDataBreakpoints request.
Fields§
§data_id: String
An id representing the data. This id is returned from the dataBreakpointInfo request.
access_type: Option<DataBreakpointAccessType>
The access type of the data.
condition: Option<String>
An optional expression for conditional breakpoints.
hit_condition: Option<String>
An optional expression that controls how many hits of the breakpoint are ignored.
The backend is expected to interpret the expression as needed.
Implementations§
Source§impl DataBreakpoint
impl DataBreakpoint
Sourcepub fn builder() -> DataBreakpointBuilder<((), (), (), ())>
pub fn builder() -> DataBreakpointBuilder<((), (), (), ())>
Create a builder for building DataBreakpoint
.
On the builder, call .data_id(...)
, .access_type(...)
(optional), .condition(...)
(optional), .hit_condition(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of DataBreakpoint
.
Trait Implementations§
Source§impl Clone for DataBreakpoint
impl Clone for DataBreakpoint
Source§fn clone(&self) -> DataBreakpoint
fn clone(&self) -> DataBreakpoint
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DataBreakpoint
impl Debug for DataBreakpoint
Source§impl<'de> Deserialize<'de> for DataBreakpoint
impl<'de> Deserialize<'de> for DataBreakpoint
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 DataBreakpoint
impl PartialEq for DataBreakpoint
Source§impl Serialize for DataBreakpoint
impl Serialize for DataBreakpoint
impl Eq for DataBreakpoint
impl StructuralPartialEq for DataBreakpoint
Auto Trait Implementations§
impl Freeze for DataBreakpoint
impl RefUnwindSafe for DataBreakpoint
impl Send for DataBreakpoint
impl Sync for DataBreakpoint
impl Unpin for DataBreakpoint
impl UnwindSafe for DataBreakpoint
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> 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
Compare self to
key
and return true
if they are equal.