pub struct ChannelStateChangedNotification {
pub old_state: Option<ChannelState>,
pub short_channel_id: Option<ShortChannelId>,
pub cause: ChannelStateChangedCause,
pub new_state: ChannelState,
pub channel_id: Sha256,
pub message: String,
pub peer_id: PublicKey,
pub timestamp: String,
}Fields§
§old_state: Option<ChannelState>§short_channel_id: Option<ShortChannelId>§cause: ChannelStateChangedCause§new_state: ChannelState§channel_id: Sha256§message: String§peer_id: PublicKey§timestamp: StringTrait Implementations§
Source§impl Clone for ChannelStateChangedNotification
impl Clone for ChannelStateChangedNotification
Source§fn clone(&self) -> ChannelStateChangedNotification
fn clone(&self) -> ChannelStateChangedNotification
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<'de> Deserialize<'de> for ChannelStateChangedNotification
impl<'de> Deserialize<'de> for ChannelStateChangedNotification
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
Auto Trait Implementations§
impl Freeze for ChannelStateChangedNotification
impl RefUnwindSafe for ChannelStateChangedNotification
impl Send for ChannelStateChangedNotification
impl Sync for ChannelStateChangedNotification
impl Unpin for ChannelStateChangedNotification
impl UnwindSafe for ChannelStateChangedNotification
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