Struct rbx_ds_cloud::api::endpoint_structs::IncrementEntry
source · [−]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
sourceimpl Args for IncrementEntry
impl Args for IncrementEntry
sourceimpl Debug for IncrementEntry
impl Debug for IncrementEntry
sourceimpl FromArgMatches for IncrementEntry
impl FromArgMatches for IncrementEntry
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
sourcefn 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>
Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
sourcefn 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.
sourcefn 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 RefUnwindSafe for IncrementEntry
impl Send for IncrementEntry
impl Sync for IncrementEntry
impl Unpin for IncrementEntry
impl UnwindSafe for IncrementEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more