pub struct ProjectUpdateInputAutocapture {
pub click: bool,
pub engagement: bool,
pub form: bool,
pub pageview: bool,
pub scroll: bool,
pub spa_pageview: bool,
}
Expand description
Configuration for automatic event capture by the Edgee SDK.
JSON schema
{
"description": "Configuration for automatic event capture by the Edgee SDK.",
"type": "object",
"properties": {
"click": {
"description": "Whether to automatically capture click events",
"default": false,
"type": "boolean"
},
"engagement": {
"description": "Whether to automatically capture engagement events",
"default": false,
"type": "boolean"
},
"form": {
"description": "Whether to automatically capture form events",
"default": false,
"type": "boolean"
},
"pageview": {
"description": "Whether to automatically capture pageview events",
"default": false,
"type": "boolean"
},
"scroll": {
"description": "Whether to automatically capture scroll events",
"default": false,
"type": "boolean"
},
"spa_pageview": {
"description": "Whether to automatically capture single page app pageview events",
"default": false,
"type": "boolean"
}
}
}
Fields§
§click: bool
Whether to automatically capture click events
engagement: bool
Whether to automatically capture engagement events
form: bool
Whether to automatically capture form events
pageview: bool
Whether to automatically capture pageview events
scroll: bool
Whether to automatically capture scroll events
spa_pageview: bool
Whether to automatically capture single page app pageview events
Implementations§
Trait Implementations§
Source§impl Clone for ProjectUpdateInputAutocapture
impl Clone for ProjectUpdateInputAutocapture
Source§fn clone(&self) -> ProjectUpdateInputAutocapture
fn clone(&self) -> ProjectUpdateInputAutocapture
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<'de> Deserialize<'de> for ProjectUpdateInputAutocapture
impl<'de> Deserialize<'de> for ProjectUpdateInputAutocapture
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<&ProjectUpdateInputAutocapture> for ProjectUpdateInputAutocapture
impl From<&ProjectUpdateInputAutocapture> for ProjectUpdateInputAutocapture
Source§fn from(value: &ProjectUpdateInputAutocapture) -> Self
fn from(value: &ProjectUpdateInputAutocapture) -> Self
Converts to this type from the input type.
Source§impl From<ProjectUpdateInputAutocapture> for ProjectUpdateInputAutocapture
impl From<ProjectUpdateInputAutocapture> for ProjectUpdateInputAutocapture
Source§fn from(value: ProjectUpdateInputAutocapture) -> Self
fn from(value: ProjectUpdateInputAutocapture) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ProjectUpdateInputAutocapture
impl JsonSchema for ProjectUpdateInputAutocapture
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl TryFrom<ProjectUpdateInputAutocapture> for ProjectUpdateInputAutocapture
impl TryFrom<ProjectUpdateInputAutocapture> for ProjectUpdateInputAutocapture
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: ProjectUpdateInputAutocapture,
) -> Result<Self, ConversionError>
fn try_from( value: ProjectUpdateInputAutocapture, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ProjectUpdateInputAutocapture
impl RefUnwindSafe for ProjectUpdateInputAutocapture
impl Send for ProjectUpdateInputAutocapture
impl Sync for ProjectUpdateInputAutocapture
impl Unpin for ProjectUpdateInputAutocapture
impl UnwindSafe for ProjectUpdateInputAutocapture
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