Updated for explicit Copy implementations.
This commit is contained in:
parent
be42e98598
commit
e070639ffe
2 changed files with 4 additions and 0 deletions
|
@ -306,6 +306,8 @@ impl Response {
|
|||
}
|
||||
}
|
||||
|
||||
impl Copy for Response {}
|
||||
|
||||
impl FromStr for Response {
|
||||
fn from_str(s: &str) -> Option<Response> {
|
||||
if let Some(respcode) = from_str(s) {
|
||||
|
|
|
@ -123,6 +123,8 @@ pub enum AccessLevel {
|
|||
Member,
|
||||
}
|
||||
|
||||
impl Copy for AccessLevel {}
|
||||
|
||||
impl PartialOrd for AccessLevel {
|
||||
fn partial_cmp(&self, other: &AccessLevel) -> Option<Ordering> {
|
||||
if self == other { return Some(Equal) }
|
||||
|
|
Loading…
Add table
Reference in a new issue