pub struct IncrementEntry {
    pub universe_id: u64,
    pub api_key: String,
    pub datastore_name: String,
    pub scope: Option<String>,
    pub key: String,
    pub increment_by: f64,
    pub user_ids: Option<Vec<u64>>,
    pub attributes: Option<String>,
}
Expand description

Increments the value for an entry by a given amount, or create a new entry with that amount.

Fields

universe_id: u64

The value of DataModel.GameId, which is visible in the URL on the universe’s Configure page.

api_key: String

API key of Roblox Open Cloud

datastore_name: String

Name of the data store

scope: Option<String>

(Optional) If “None”, defaults to global, similar to Lua API

key: String

The key which identifies the entry

increment_by: f64

The amount by which the entry should be incremented

user_ids: Option<Vec<u64>>

(Optional) Comma-separated list of Roblox user IDs

attributes: Option<String>

(Optional) JSON-stringified attributes data

Trait Implementations

Append to Command so it can instantiate Self. Read more

Append to Command so it can update self. Read more

Formats the value using the given formatter. Read more

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more

Assign values from ArgMatches to self.

Assign values from ArgMatches to self.

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.

Should always be Self

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