Struct lightning_signer::util::ser_util::ChannelIdHandler
source · pub struct ChannelIdHandler;
Trait Implementations§
source§impl<'de> DeserializeAs<'de, ChannelId> for ChannelIdHandler
impl<'de> DeserializeAs<'de, ChannelId> for ChannelIdHandler
source§fn deserialize_as<D>(deserializer: D) -> Result<ChannelId, D::Error>where
D: Deserializer<'de>,
fn deserialize_as<D>(deserializer: D) -> Result<ChannelId, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer.
source§impl SerializeAs<ChannelId> for ChannelIdHandler
impl SerializeAs<ChannelId> for ChannelIdHandler
source§fn serialize_as<S>(source: &ChannelId, serializer: S) -> Result<S::Ok, S::Error>where
S: Serializer,
fn serialize_as<S>(source: &ChannelId, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,
Serialize this value into the given Serde serializer.