pub struct GdprWebhookStatus {
pub data_request: bool,
pub customers_redact: bool,
pub shop_redact: bool,
pub hmac_verification: bool,
}Expand description
Status of GDPR webhook implementation
Fields§
§data_request: bool§customers_redact: bool§shop_redact: bool§hmac_verification: boolImplementations§
Source§impl GdprWebhookStatus
impl GdprWebhookStatus
Sourcepub fn is_compliant(&self) -> bool
pub fn is_compliant(&self) -> bool
Check if all required GDPR webhooks are implemented
Sourcepub fn has_security(&self) -> bool
pub fn has_security(&self) -> bool
Check if HMAC verification is present
Sourcepub fn implemented(&self) -> Vec<&'static str>
pub fn implemented(&self) -> Vec<&'static str>
Get list of implemented webhooks
Trait Implementations§
Source§impl Clone for GdprWebhookStatus
impl Clone for GdprWebhookStatus
Source§fn clone(&self) -> GdprWebhookStatus
fn clone(&self) -> GdprWebhookStatus
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 GdprWebhookStatus
impl Debug for GdprWebhookStatus
Source§impl Default for GdprWebhookStatus
impl Default for GdprWebhookStatus
Source§fn default() -> GdprWebhookStatus
fn default() -> GdprWebhookStatus
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GdprWebhookStatus
impl RefUnwindSafe for GdprWebhookStatus
impl Send for GdprWebhookStatus
impl Sync for GdprWebhookStatus
impl Unpin for GdprWebhookStatus
impl UnsafeUnpin for GdprWebhookStatus
impl UnwindSafe for GdprWebhookStatus
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