pub fn method(&self) -> Option<String> {
		match *self {
			Output::Notification(ref n) => Some(n.method.to_owned()),
			_ => None,
		}
	}
/// Get the method name if the output is a notification.
Get the method name if the output is a notification.
Get the method name if the output is a notification .
pub fn method(&self) -> Option<String> {
		match *self {
			Output::Notification(ref n) => Some(n.method.to_owned()),
			_ => None,
		}
	}
pub fn method ( & self ) -> Option < String > { match * self { Output :: Notification ( ref n ) => Some ( n . method . to_owned ( ) ) , _ => None , } }
Get the method name if the output is a notification.
Get the method name if the output is a notification .
&self