pub struct Api {
pub version: ApiVersion,
pub max_areas: Option<f64>,
pub max_note_areas: Option<i64>,
pub trackpoints_per_page: Option<i64>,
pub max_way_nodes: Option<i64>,
pub max_relation_members: Option<i64>,
pub changesets: Option<QueryLimit>,
pub notes: Option<QueryLimit>,
pub timeout: Option<i64>,
pub status: Option<ApiStatus>,
}
Fields§
§version: ApiVersion
§max_areas: Option<f64>
§max_note_areas: Option<i64>
§trackpoints_per_page: Option<i64>
§max_way_nodes: Option<i64>
§max_relation_members: Option<i64>
§changesets: Option<QueryLimit>
§notes: Option<QueryLimit>
§timeout: Option<i64>
§status: Option<ApiStatus>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Api
impl<'de> Deserialize<'de> for Api
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Api
impl RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl UnwindSafe for Api
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more