pub struct ClientWrapper { /* private fields */ }
Expand description

A wrapper around Client. Helps reduce external imports.

Methods from Deref<Target = Client<DynConnector, Identity>>

Returns the client’s configuration.

Constructs a fluent builder for the CancelGameLink operation.

Constructs a fluent builder for the CompleteGameLink operation.

Constructs a fluent builder for the CompleteIdentityAvatarUpload operation.

Constructs a fluent builder for the FollowIdentity operation.

Constructs a fluent builder for the GetGameLink operation.

Constructs a fluent builder for the GetIdentityHandles operation.

Constructs a fluent builder for the GetIdentityProfile operation.

Constructs a fluent builder for the GetIdentitySelfProfile operation.

Constructs a fluent builder for the GetIdentitySummaries operation.

Constructs a fluent builder for the ListActivities operation.

Constructs a fluent builder for the ListFollowers operation.

Constructs a fluent builder for the ListFollowing operation.

Constructs a fluent builder for the ListFriends operation.

Constructs a fluent builder for the ListMutualFriends operation.

Constructs a fluent builder for the PrepareGameLink operation.

Constructs a fluent builder for the PrepareIdentityAvatarUpload operation.

Constructs a fluent builder for the RemoveIdentityGameActivity operation.

Constructs a fluent builder for the ReportIdentity operation.

Constructs a fluent builder for the SearchIdentities operation.

Constructs a fluent builder for the SetIdentityGameActivity operation.

Constructs a fluent builder for the SetupIdentity operation.

  • The fluent builder is configurable:
  • On success, responds with SetupIdentityOutput with field(s):
    • identity_token(Option<String>): Token used to authenticate the identity. Should be stored somewhere permanent. Pass this to rivet.api.identity#SetupIdentity$existing_identity_token next time rivet.api.identity#SetupIdentity is called. Token has a 90 day TTL. This means that if rivet.api.identity#SetupIdentity is not called again within 90 days, the token will no longer be valid. If this happens, the user can recover their account through the linking process (see rivet.api.identity#PrepareGameLink). This token should be stored locally and never sent to a server or another device. If this token is comprimised, anyone with access to this token has control of the identity.
    • identity_token_expire_ts(Option<DateTime>): Timestamp (in milliseconds) at which the token expires.
    • identity(Option<IdentityProfile>): Information about the identity that was just authenticated.
    • game_id(Option<String>): A universally unique identifier.
  • On failure, responds with SdkError<SetupIdentityError>

Constructs a fluent builder for the SignupForBeta operation.

Constructs a fluent builder for the UnfollowIdentity operation.

Constructs a fluent builder for the UpdateIdentityProfile operation.

Constructs a fluent builder for the UpdateIdentityStatus operation.

Constructs a fluent builder for the ValidateIdentityProfile operation.

Constructs a fluent builder for the WatchEvents operation.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more