Skip to content

Commit d514be5

Browse files
committed
feature gate prepared struct method for client
1 parent c9be928 commit d514be5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/places/query/query_params.rs

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ pub(crate) struct NearPointPreparedParams {
4444
icon: Option<Icon>,
4545
}
4646

47+
#[cfg(feature = "places-client")]
4748
impl NearPointQueryParams {
4849
pub(crate) fn prepare(self) -> NearPointPreparedParams {
4950
NearPointPreparedParams {
@@ -104,6 +105,7 @@ pub(crate) struct WithinExtentPreparedParams {
104105
icon: Option<Icon>,
105106
}
106107

108+
#[cfg(feature = "places-client")]
107109
impl WithinExtentQueryParams {
108110
pub(crate) fn prepare(self) -> WithinExtentPreparedParams {
109111
WithinExtentPreparedParams {

0 commit comments

Comments
 (0)