pub struct SessionCost(/* private fields */);Expand description
Shared, cloneable handle to the running session cost (USD), in micro-dollars.
Implementations§
Trait Implementations§
Source§impl Clone for SessionCost
impl Clone for SessionCost
Source§fn clone(&self) -> SessionCost
fn clone(&self) -> SessionCost
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for SessionCost
impl Default for SessionCost
Source§fn default() -> SessionCost
fn default() -> SessionCost
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionCost
impl RefUnwindSafe for SessionCost
impl Send for SessionCost
impl Sync for SessionCost
impl Unpin for SessionCost
impl UnsafeUnpin for SessionCost
impl UnwindSafe for SessionCost
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