boatctl 0.1.2

CLI for Blueboat Cloud.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub enum ServiceCursor<T> {
  Initial,
  Next(T),
  End,
}

impl<T> ServiceCursor<T> {
  pub fn as_request_cursor_ref(&self) -> Option<&T> {
    match self {
      ServiceCursor::Initial => None,
      ServiceCursor::Next(t) => Some(t),
      ServiceCursor::End => None,
    }
  }
}