Struct rbx_ds_cloud::api::endpoint_structs::SetEntry
source · [−]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
sourceimpl FromArgMatches for SetEntry
impl FromArgMatches for SetEntry
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 SetEntry
impl Send for SetEntry
impl Sync for SetEntry
impl Unpin for SetEntry
impl UnwindSafe for SetEntry
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