pub struct SetEntry {
    pub universe_id: u64,
    pub api_key: String,
    pub datastore_name: String,
    pub scope: Option<String>,
    pub key: String,
    pub match_version: Option<String>,
    pub exclusive_create: Option<bool>,
    pub data: String,
    pub user_ids: Option<Vec<u64>>,
    pub attributes: Option<String>,
}
Expand description

Sets the value, metadata and user IDs associated with an entry.

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

match_version: Option<String>

(Optional) Only update if current version matches this

exclusive_create: Option<bool>

(Optional) Only create the entry if it does not exist

data: String

JSON-stringified or stringify-able data (Limit: 4MB)

user_ids: Option<Vec<u64>>

(Optional) Associated UserID (can be multiple)

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