pub struct AlertHandler {
pub alert_type: AlertType,
pub threshold: f64,
pub handler: String,
pub enabled: bool,
}Expand description
Re-export core tailwind-rs functionality Alert handler for performance issues
Fields§
§alert_type: AlertTypeAlert type
threshold: f64Threshold value
handler: StringHandler function
enabled: boolWhether the alert is enabled
Trait Implementations§
Source§impl Clone for AlertHandler
impl Clone for AlertHandler
Source§fn clone(&self) -> AlertHandler
fn clone(&self) -> AlertHandler
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 AlertHandler
impl Debug for AlertHandler
Source§impl<'de> Deserialize<'de> for AlertHandler
impl<'de> Deserialize<'de> for AlertHandler
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AlertHandler, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AlertHandler, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AlertHandler
impl PartialEq for AlertHandler
Source§impl Serialize for AlertHandler
impl Serialize for AlertHandler
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AlertHandler
Auto Trait Implementations§
impl Freeze for AlertHandler
impl RefUnwindSafe for AlertHandler
impl Send for AlertHandler
impl Sync for AlertHandler
impl Unpin for AlertHandler
impl UnwindSafe for AlertHandler
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