/// Whether a method is considered "idempotent", meaning the request has
/// the same result if executed multiple times.
///
/// See [the spec](https://tools.ietf.org/html/rfc7231#section-4.2.2) for
/// more words.
Whether a method is considered "idempotent", meaning the request has
the same result if executed multiple times.

See [the spec] for
more words.
Whether a method is considered " idempotent " meaning the request has the same result if executed multiple times . See [ the spec ] for more words .
pub fn idempotent(&self) -> bool {
        if self.safe() {
            true
        } else {
            match *self {
                Put | Delete => true,
                _ => false
            }
        }
    }
pub fn idempotent ( & self ) -> bool { if self . safe ( ) { true } else { match * self { Put | Delete => true , _ => false } } }
Whether a method is considered "idempotent", meaning the request has
the same result if executed multiple times.
Whether a method is considered " idempotent " meaning the request has the same result if executed multiple times .
&self