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: u64The value of DataModel.GameId, which is visible in the URL on the universe’s Configure page.
api_key: StringAPI key of Roblox Open Cloud
datastore_name: StringName of the data store
scope: Option<String>(Optional) If “None”, defaults to global, similar to Lua API
key: StringThe 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: StringJSON-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§
Source§impl FromArgMatches for SetEntry
impl FromArgMatches for SetEntry
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for SetEntry
impl RefUnwindSafe for SetEntry
impl Send for SetEntry
impl Sync for SetEntry
impl Unpin for SetEntry
impl UnsafeUnpin for SetEntry
impl UnwindSafe for SetEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more