Struct gapi_grpc::google::maps::playablelocations::v3::playable_locations_client::PlayableLocationsClient[][src]

pub struct PlayableLocationsClient<T> { /* fields omitted */ }

The Playable Locations API for v3.

Implementations

impl PlayableLocationsClient<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> PlayableLocationsClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn sample_playable_locations(
    &mut self,
    request: impl IntoRequest<SamplePlayableLocationsRequest>
) -> Result<Response<SamplePlayableLocationsResponse>, Status>
[src]

Returns a set of playable locations that lie within a specified area, that satisfy optional filter criteria.

Note: Identical SamplePlayableLocations requests can return different results as the state of the world changes over time.

pub async fn log_player_reports(
    &mut self,
    request: impl IntoRequest<LogPlayerReportsRequest>
) -> Result<Response<LogPlayerReportsResponse>, Status>
[src]

Logs bad playable location reports submitted by players.

Reports are not partially saved; either all reports are saved and this request succeeds, or no reports are saved, and this request fails.

pub async fn log_impressions(
    &mut self,
    request: impl IntoRequest<LogImpressionsRequest>
) -> Result<Response<LogImpressionsResponse>, Status>
[src]

Logs new events when playable locations are displayed, and when they are interacted with.

Impressions are not partially saved; either all impressions are saved and this request succeeds, or no impressions are saved, and this request fails.

Trait Implementations

impl<T: Clone> Clone for PlayableLocationsClient<T>[src]

impl<T> Debug for PlayableLocationsClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for PlayableLocationsClient<T>

impl<T> Send for PlayableLocationsClient<T> where
    T: Send

impl<T> Sync for PlayableLocationsClient<T> where
    T: Sync

impl<T> Unpin for PlayableLocationsClient<T> where
    T: Unpin

impl<T> !UnwindSafe for PlayableLocationsClient<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]