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: 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
increment_by: f64The 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§
Source§impl Args for IncrementEntry
impl Args for IncrementEntry
Source§impl Debug for IncrementEntry
impl Debug for IncrementEntry
Source§impl FromArgMatches for IncrementEntry
impl FromArgMatches for IncrementEntry
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 IncrementEntry
impl RefUnwindSafe for IncrementEntry
impl Send for IncrementEntry
impl Sync for IncrementEntry
impl Unpin for IncrementEntry
impl UnsafeUnpin for IncrementEntry
impl UnwindSafe for IncrementEntry
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