pub struct InsightUpdateRequest {
pub has_been_displayed: Option<bool>,
pub is_dismissed: Option<bool>,
}Expand description
InsightUpdateRequest
JSON schema
{
"properties": {
"has_been_displayed": {
"examples": [
false
],
"type": "boolean"
},
"is_dismissed": {
"examples": [
false
],
"type": "boolean"
}
}
}Fields§
§has_been_displayed: Option<bool>§is_dismissed: Option<bool>Trait Implementations§
Source§impl Clone for InsightUpdateRequest
impl Clone for InsightUpdateRequest
Source§fn clone(&self) -> InsightUpdateRequest
fn clone(&self) -> InsightUpdateRequest
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 InsightUpdateRequest
impl Debug for InsightUpdateRequest
Source§impl Default for InsightUpdateRequest
impl Default for InsightUpdateRequest
Source§impl<'de> Deserialize<'de> for InsightUpdateRequest
impl<'de> Deserialize<'de> for InsightUpdateRequest
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 From<&InsightUpdateRequest> for InsightUpdateRequest
impl From<&InsightUpdateRequest> for InsightUpdateRequest
Source§fn from(value: &InsightUpdateRequest) -> Self
fn from(value: &InsightUpdateRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InsightUpdateRequest
impl RefUnwindSafe for InsightUpdateRequest
impl Send for InsightUpdateRequest
impl Sync for InsightUpdateRequest
impl Unpin for InsightUpdateRequest
impl UnwindSafe for InsightUpdateRequest
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