pub struct ProjectFullAutocapture {
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§
Source§impl ProjectFullAutocapture
impl ProjectFullAutocapture
pub fn builder() -> ProjectFullAutocapture
Trait Implementations§
Source§impl Clone for ProjectFullAutocapture
impl Clone for ProjectFullAutocapture
Source§fn clone(&self) -> ProjectFullAutocapture
fn clone(&self) -> ProjectFullAutocapture
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 ProjectFullAutocapture
impl Debug for ProjectFullAutocapture
Source§impl Default for ProjectFullAutocapture
impl Default for ProjectFullAutocapture
Source§impl<'de> Deserialize<'de> for ProjectFullAutocapture
impl<'de> Deserialize<'de> for ProjectFullAutocapture
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<&ProjectFullAutocapture> for ProjectFullAutocapture
impl From<&ProjectFullAutocapture> for ProjectFullAutocapture
Source§fn from(value: &ProjectFullAutocapture) -> Self
fn from(value: &ProjectFullAutocapture) -> Self
Converts to this type from the input type.
Source§impl From<ProjectFullAutocapture> for ProjectFullAutocapture
impl From<ProjectFullAutocapture> for ProjectFullAutocapture
Source§fn from(value: ProjectFullAutocapture) -> Self
fn from(value: ProjectFullAutocapture) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ProjectFullAutocapture
impl JsonSchema for ProjectFullAutocapture
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 Serialize for ProjectFullAutocapture
impl Serialize for ProjectFullAutocapture
Source§impl TryFrom<ProjectFullAutocapture> for ProjectFullAutocapture
impl TryFrom<ProjectFullAutocapture> for ProjectFullAutocapture
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ProjectFullAutocapture) -> Result<Self, ConversionError>
fn try_from(value: ProjectFullAutocapture) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ProjectFullAutocapture
impl RefUnwindSafe for ProjectFullAutocapture
impl Send for ProjectFullAutocapture
impl Sync for ProjectFullAutocapture
impl Unpin for ProjectFullAutocapture
impl UnwindSafe for ProjectFullAutocapture
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