/// Returns the move abort code if the status is `MoveAbort`, and `None` otherwise
Returns the move abort code if the status is `MoveAbort`, and `None` otherwise
Returns the move abort code if the status is ` MoveAbort ` and ` None ` otherwise
pub fn move_abort_code(&self) -> Option<u64> {
        match self {
            Self::MoveAbort(_, code) => Some(*code),
            Self::Error(_) | Self::Executed => None,
        }
    }
pub fn move_abort_code ( & self ) -> Option < u64 > { match self { Self :: MoveAbort ( _ , code ) => Some ( * code ) , Self :: Error ( _ ) | Self :: Executed => None , } }
Returns the move abort code if the status is `MoveAbort`, and `None` otherwise
Returns the move abort code if the status is ` MoveAbort ` and ` None ` otherwise
&self