pub struct CustomHeartbeat { /* private fields */ }Implementations§
Source§impl CustomHeartbeat
impl CustomHeartbeat
pub fn data<T>(self, value: T) -> Self
pub fn resource_type<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for CustomHeartbeat
impl Clone for CustomHeartbeat
Source§impl Debug for CustomHeartbeat
impl Debug for CustomHeartbeat
Source§impl Default for CustomHeartbeat
impl Default for CustomHeartbeat
Source§impl From<CustomHeartbeat> for CustomHeartbeat
impl From<CustomHeartbeat> for CustomHeartbeat
Source§fn from(value: CustomHeartbeat) -> Self
fn from(value: CustomHeartbeat) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CustomHeartbeat> for CustomHeartbeat
impl TryFrom<CustomHeartbeat> for CustomHeartbeat
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CustomHeartbeat) -> Result<Self, ConversionError>
fn try_from(value: CustomHeartbeat) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for CustomHeartbeat
impl Freeze for CustomHeartbeat
impl Move for CustomHeartbeat
impl RefUnwindSafe for CustomHeartbeat
impl Send for CustomHeartbeat
impl Sync for CustomHeartbeat
impl Unpin for CustomHeartbeat
impl UnsafeUnpin for CustomHeartbeat
impl UnwindSafe for CustomHeartbeat
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