Skip to content

Commit

Permalink
feature gate prepared struct method for client
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahParry committed Apr 16, 2024
1 parent c9be928 commit d514be5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/places/query/query_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ pub(crate) struct NearPointPreparedParams {
icon: Option<Icon>,
}

#[cfg(feature = "places-client")]
impl NearPointQueryParams {
pub(crate) fn prepare(self) -> NearPointPreparedParams {
NearPointPreparedParams {
Expand Down Expand Up @@ -104,6 +105,7 @@ pub(crate) struct WithinExtentPreparedParams {
icon: Option<Icon>,
}

#[cfg(feature = "places-client")]
impl WithinExtentQueryParams {
pub(crate) fn prepare(self) -> WithinExtentPreparedParams {
WithinExtentPreparedParams {
Expand Down

0 comments on commit d514be5

Please sign in to comment.