pub fn is_satisfied(&self, witness: &Witness) -> bool {
        match (self, witness) {
            (&Condition::Signature(ref pubkey), &Witness::Signature(ref from)) => pubkey == from,
            (&Condition::Timestamp(ref dt), &Witness::Timestamp(ref last_time)) => dt <= last_time,
            _ => false,
        }
    }
/// Return true if the given Witness satisfies this Condition.
Return true if the given Witness satisfies this Condition.
Return true if the given Witness satisfies this Condition .
pub fn is_satisfied(&self, witness: &Witness) -> bool {
        match (self, witness) {
            (&Condition::Signature(ref pubkey), &Witness::Signature(ref from)) => pubkey == from,
            (&Condition::Timestamp(ref dt), &Witness::Timestamp(ref last_time)) => dt <= last_time,
            _ => false,
        }
    }
pub fn is_satisfied ( & self , witness : & Witness ) -> bool { match ( self , witness ) { ( & Condition :: Signature ( ref pubkey ) , & Witness :: Signature ( ref from ) ) => pubkey == from , ( & Condition :: Timestamp ( ref dt ) , & Witness :: Timestamp ( ref last_time ) ) => dt <= last_time , _ => false , } }
Return true if the given Witness satisfies this Condition.
Return true if the given Witness satisfies this Condition .
&self
witness
&Witness
&self
witness
&Witness