(mut self, other: &RouteAnnotation)
| 65 | } |
| 66 | |
| 67 | pub fn or(mut self, other: &RouteAnnotation) -> Self { |
| 68 | if matches!(self.auth, Auth::None) { |
| 69 | self.auth = other.auth; |
| 70 | } |
| 71 | if self.docs.is_none() { |
| 72 | self.docs = other.docs.clone() |
| 73 | } |
| 74 | self |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | impl FromDirective for Auth { |
no test coverage detected