pub struct FeedbackConfig {Show 28 fields
pub project_id: String,
pub widget_label: String,
pub widget_position: FeedbackWidgetPosition,
pub offset_x_px: u16,
pub offset_y_px: u16,
pub theme: FeedbackWidgetTheme,
pub token_storage: FeedbackTokenStorage,
pub max_http_body_bytes: usize,
pub max_screenshot_bytes: usize,
pub max_audio_bytes: usize,
pub max_file_bytes: usize,
pub max_attachments: usize,
pub max_recording_seconds: u32,
pub project_key: Option<String>,
pub allow_anonymous: bool,
pub developer_token: Option<String>,
pub developer_recipient: String,
pub developer_link_base: Option<String>,
pub notify_client_updates: bool,
pub publish_events_inline: bool,
pub transcription_enabled: bool,
pub auto_transcribe_audio: bool,
pub screenshot_enabled: bool,
pub voice_enabled: bool,
pub include_url_query: bool,
pub redact_query_parameters: Vec<String>,
pub poll_interval_ms: u64,
pub privacy_notice: Option<String>,
}Expand description
Runtime configuration for a feedback deployment.
Browser-visible project keys are an abuse-control mechanism rather than an
authentication secret. Developer bearer tokens are intended only as a
local/operator fallback; production applications should inject a
minco_http::Principal with the feedback.manage permission.
Fields§
§project_id: String§widget_label: String§widget_position: FeedbackWidgetPosition§offset_x_px: u16§offset_y_px: u16§theme: FeedbackWidgetTheme§token_storage: FeedbackTokenStorage§max_http_body_bytes: usize§max_screenshot_bytes: usize§max_audio_bytes: usize§max_file_bytes: usize§max_attachments: usize§max_recording_seconds: u32§project_key: Option<String>§allow_anonymous: bool§developer_token: Option<String>§developer_recipient: String§developer_link_base: Option<String>§notify_client_updates: bool§publish_events_inline: boolPublish newly enqueued domain events on the request path. Disabled by default so feedback
submission latency is not coupled to SQS, EventBridge, or another external broker.
transcription_enabled: bool§auto_transcribe_audio: bool§screenshot_enabled: bool§voice_enabled: bool§include_url_query: boolInclude URL query parameters in captured page context. Disabled by default because query strings commonly contain personal data or temporary credentials.
redact_query_parameters: Vec<String>§poll_interval_ms: u64§privacy_notice: Option<String>Implementations§
Source§impl FeedbackConfig
impl FeedbackConfig
pub fn validate(&self) -> Result<(), FeedbackServiceError>
pub fn widget_config(&self) -> FeedbackWidgetConfig
Trait Implementations§
Source§impl Clone for FeedbackConfig
impl Clone for FeedbackConfig
Source§fn clone(&self) -> FeedbackConfig
fn clone(&self) -> FeedbackConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FeedbackConfig
impl Debug for FeedbackConfig
Source§impl Default for FeedbackConfig
impl Default for FeedbackConfig
Source§impl<'de> Deserialize<'de> for FeedbackConfig
impl<'de> Deserialize<'de> for FeedbackConfig
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
impl Eq for FeedbackConfig
Source§impl PartialEq for FeedbackConfig
impl PartialEq for FeedbackConfig
Source§impl Serialize for FeedbackConfig
impl Serialize for FeedbackConfig
impl StructuralPartialEq for FeedbackConfig
Auto Trait Implementations§
impl Freeze for FeedbackConfig
impl RefUnwindSafe for FeedbackConfig
impl Send for FeedbackConfig
impl Sync for FeedbackConfig
impl Unpin for FeedbackConfig
impl UnsafeUnpin for FeedbackConfig
impl UnwindSafe for FeedbackConfig
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more