pub struct Deposit(_);
Implementations
sourceimpl Deposit
impl Deposit
pub fn last_cooldown(&self) -> u32
sourceimpl Deposit
impl Deposit
pub fn deposit_type(&self) -> ResourceType
Trait Implementations
sourceimpl FromExpectedType<Reference> for Deposit
impl FromExpectedType<Reference> for Deposit
fn from_expected_type(reference: Reference) -> Result<Self, ConversionError>
sourceimpl HasId for Deposit
impl HasId for Deposit
sourcefn untyped_id(&self) -> RawObjectId
fn untyped_id(&self) -> RawObjectId
Retrieves this object’s id as an untyped, packed value. Read more
sourceimpl InstanceOf for Deposit
impl InstanceOf for Deposit
sourcefn instance_of(reference: &Reference) -> bool
fn instance_of(reference: &Reference) -> bool
Checks whenever a given Reference if of type Self
.
sourceimpl PartialEq<Deposit> for Deposit
impl PartialEq<Deposit> for Deposit
sourceimpl ReferenceType for Deposit
impl ReferenceType for Deposit
sourceunsafe fn from_reference_unchecked(reference: Reference) -> Self
unsafe fn from_reference_unchecked(reference: Reference) -> Self
Converts a given reference into a concrete reference-like wrapper. Doesn’t do any type checking; highly unsafe to use! Read more
sourceimpl RoomObjectProperties for Deposit
impl RoomObjectProperties for Deposit
impl Eq for Deposit
impl Harvestable for Deposit
impl JsSerialize for Deposit
Auto Trait Implementations
impl RefUnwindSafe for Deposit
impl Send for Deposit
impl Sync for Deposit
impl Unpin for Deposit
impl UnwindSafe for Deposit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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> FromExpectedType<Value> for Twhere
T: FromExpectedType<Reference>,
impl<T> FromExpectedType<Value> for Twhere
T: FromExpectedType<Reference>,
fn from_expected_type(v: Value) -> Result<T, ConversionError>
sourceimpl<T> HasPosition for Twhere
T: RoomObjectProperties,
impl<T> HasPosition for Twhere
T: RoomObjectProperties,
sourceimpl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
impl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
sourcefn into_expected_type(self) -> Result<U, ConversionError>
fn into_expected_type(self) -> Result<U, ConversionError>
Casts this value as the target type, making the assumption that the types are correct. Read more