Skip to main content

IRelayUserGlobalDataMethods

Trait IRelayUserGlobalDataMethods 

Source
pub trait IRelayUserGlobalDataMethods: IRelayUserGlobalData {
Show 21 methods // Provided methods fn ctor(self) { ... } fn clear(self) { ... } fn clear_for_game(self) { ... } fn cleanup_unused(self, super_: impl Into<ProcInst>) { ... } fn update_data(self) { ... } fn delete_data(self, identifier: impl Into<u64>) { ... } fn add_ticket_count(self, count: impl Into<i32>) { ... } fn sub_ticket_count(self, count: impl Into<i32>) { ... } fn get_ticket_count(self) -> u32 { ... } fn set_ticket_last_time(self, unix_time: impl Into<i64>) { ... } fn get_ticket_last_time(self) -> i64 { ... } fn get_daily_ticket_count(self) -> u32 { ... } fn set_daily_ticket_count(self, value: impl Into<u32>) { ... } fn get_version(self) -> i32 { ... } fn on_serialize(self, stream: impl Into<Stream_2>) { ... } fn on_deserialize( self, stream: impl Into<Stream_2>, version: impl Into<i32>, ) { ... } fn serialize_uncommitted(self, stream: impl Into<Stream_2>) { ... } fn deserialize_uncommitted(self, stream: impl Into<Stream_2>) { ... } fn clear_uncommitted(self) { ... } fn dbg_dump(self, super_: impl Into<ProcInst>) { ... } fn dbg_add_sub_ticket_count_test(self) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn clear(self)

Clear() overload

Source

fn clear_for_game(self)

ClearForGame() overload

Source

fn cleanup_unused(self, super_: impl Into<ProcInst>)

CleanupUnused(crate::app::procinst::ProcInst) overload

Source

fn update_data(self)

UpdateData() overload

Source

fn delete_data(self, identifier: impl Into<u64>)

DeleteData(u64) overload

Source

fn add_ticket_count(self, count: impl Into<i32>)

AddTicketCount(i32) overload

Source

fn sub_ticket_count(self, count: impl Into<i32>)

SubTicketCount(i32) overload

Source

fn get_ticket_count(self) -> u32

GetTicketCount() overload

Source

fn set_ticket_last_time(self, unix_time: impl Into<i64>)

SetTicketLastTime(i64) overload

Source

fn get_ticket_last_time(self) -> i64

GetTicketLastTime() overload

Source

fn get_daily_ticket_count(self) -> u32

get_DailyTicketCount() overload

Source

fn set_daily_ticket_count(self, value: impl Into<u32>)

set_DailyTicketCount(u32) overload

Source

fn get_version(self) -> i32

get_Version() overload

Source

fn on_serialize(self, stream: impl Into<Stream_2>)

OnSerialize(crate::app::stream_2::Stream_2) overload

Source

fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)

OnDeserialize(crate::app::stream_2::Stream_2, i32) overload

Source

fn serialize_uncommitted(self, stream: impl Into<Stream_2>)

SerializeUncommitted(crate::app::stream_2::Stream_2) overload

Source

fn deserialize_uncommitted(self, stream: impl Into<Stream_2>)

DeserializeUncommitted(crate::app::stream_2::Stream_2) overload

Source

fn clear_uncommitted(self)

ClearUncommitted() overload

Source

fn dbg_dump(self, super_: impl Into<ProcInst>)

DbgDump(crate::app::procinst::ProcInst) overload

Source

fn dbg_add_sub_ticket_count_test(self)

DbgAddSubTicketCountTest() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IRelayUserGlobalData> IRelayUserGlobalDataMethods for __T

Available on crate feature app-relayuserglobaldata only.