MCPcopy Create free account
hub / github.com/ElementsProject/lightning / serialize

Method serialize

plugins/lsps-plugin/src/proto/lsps0.rs:104–109  ·  view source on GitHub ↗
(&self, serializer: S)

Source from the content-addressed store, hash-verified

102
103impl Serialize for Msat {
104 fn serialize<S>(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
105 where
106 S: Serializer,
107 {
108 serializer.serialize_str(&self.0.to_string())
109 }
110}
111
112impl<'de> Deserialize<'de> for Msat {

Callers

nothing calls this directly

Calls 1

to_stringMethod · 0.45

Tested by

no test coverage detected