pub fn parse_output(output: &core::Output) -> Option<SubscriptionId> {
		match output {
			core::Output::Notification(n) => match &n.params {
				core::Params::Map(map) => match map.get("subscription") {
					Some(value) => Self::parse_value(value),
					None => None,
				},
				_ => None,
			},
			_ => None,
		}
	}
/// Parses an output into a subscription id.
Parses an output into a subscription id.
Parses an output into a subscription id .
pub fn parse_output(output: &core::Output) -> Option<SubscriptionId> {
		match output {
			core::Output::Notification(n) => match &n.params {
				core::Params::Map(map) => match map.get("subscription") {
					Some(value) => Self::parse_value(value),
					None => None,
				},
				_ => None,
			},
			_ => None,
		}
	}
pub fn parse_output ( output : & core :: Output ) -> Option < SubscriptionId > { match output { core :: Output :: Notification ( n ) => match & n . params { core :: Params :: Map ( map ) => match map . get ( " " ) { Some ( value ) => Self :: parse_value ( value ) , None => None , } , _ => None , } , _ => None , } }
Parses an output into a subscription id.
Parses an output into a subscription id .
output
&core::Output