pub fn take_cycles(&mut self) -> Cycles {
        match self {
            RequestOrIngress::Request(Request { payment, .. }) => payment.take(),
            RequestOrIngress::Ingress(Ingress { .. }) => Cycles::zero(),
        }
    }
/// Extracts the cycles received with this message.
Extracts the cycles received with this message.
Extracts the cycles received with this message .
pub fn take_cycles(&mut self) -> Cycles {
        match self {
            RequestOrIngress::Request(Request { payment, .. }) => payment.take(),
            RequestOrIngress::Ingress(Ingress { .. }) => Cycles::zero(),
        }
    }
pub fn take_cycles ( & mut self ) -> Cycles { match self { RequestOrIngress :: Request ( Request { payment , .. } ) => payment . take ( ) , RequestOrIngress :: Ingress ( Ingress { .. } ) => Cycles :: zero ( ) , } }
Extracts the cycles received with this message.
Extracts the cycles received with this message .
&mut self
&mut self