pub struct ReviewConfig {
pub platforms: Vec<String>,
pub auto_respond_threshold: Option<u8>,
}Expand description
Review platform configuration.
Fields§
§platforms: Vec<String>Review platforms to monitor (e.g. [“google”, “yelp”, “trustpilot”]).
auto_respond_threshold: Option<u8>Auto-respond to reviews with rating at or above this threshold (1-5).
Trait Implementations§
Source§impl Clone for ReviewConfig
impl Clone for ReviewConfig
Source§fn clone(&self) -> ReviewConfig
fn clone(&self) -> ReviewConfig
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 ReviewConfig
impl Debug for ReviewConfig
Source§impl<'de> Deserialize<'de> for ReviewConfig
impl<'de> Deserialize<'de> for ReviewConfig
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 ReviewConfig
impl PartialEq for ReviewConfig
Source§fn eq(&self, other: &ReviewConfig) -> bool
fn eq(&self, other: &ReviewConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReviewConfig
impl Serialize for ReviewConfig
impl StructuralPartialEq for ReviewConfig
Auto Trait Implementations§
impl Freeze for ReviewConfig
impl RefUnwindSafe for ReviewConfig
impl Send for ReviewConfig
impl Sync for ReviewConfig
impl Unpin for ReviewConfig
impl UnsafeUnpin for ReviewConfig
impl UnwindSafe for ReviewConfig
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