pub struct GBFSFreeBikeStatusV20 {
pub last_updated: u64,
pub ttl: u64,
pub version: String,
pub data: GBFSFreeBikeStatusDataV20,
}Expand description
Fields§
§last_updated: u64Last time the data in the feed was updated in POSIX time. Minimum: 1450155600
ttl: u64Number of seconds before the data in the feed will be updated again (0 if the data should always be refreshed). Minimum: 0
version: StringGBFS version number to which the feed conforms, according to the versioning framework (added in v1.1). Const: 2.0
data: GBFSFreeBikeStatusDataV20Contains the list of bikes published by the auto-discovery file.
Auto Trait Implementations§
impl Freeze for GBFSFreeBikeStatusV20
impl RefUnwindSafe for GBFSFreeBikeStatusV20
impl Send for GBFSFreeBikeStatusV20
impl Sync for GBFSFreeBikeStatusV20
impl Unpin for GBFSFreeBikeStatusV20
impl UnwindSafe for GBFSFreeBikeStatusV20
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more