#[non_exhaustive]pub struct ClassBinding {
pub class_hash: String,
pub tx: String,
}Expand description
A class-name binding: from transaction time tx on, a class name means the class
class_hash (Store::bind_class). The class counterpart of Binding; the bindings
answer of SPEC 9.7 gives class_hash in place of fn_hash for such a name. Since 0.4.1.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.class_hash: StringThe class hash the name means.
tx: StringWhen the binding began (an instant, SPEC 3.3).
Trait Implementations§
Source§impl Clone for ClassBinding
impl Clone for ClassBinding
Source§impl Debug for ClassBinding
impl Debug for ClassBinding
impl Eq for ClassBinding
Source§impl Hash for ClassBinding
impl Hash for ClassBinding
Source§impl PartialEq for ClassBinding
impl PartialEq for ClassBinding
impl StructuralPartialEq for ClassBinding
Auto Trait Implementations§
impl Forget for ClassBinding
impl Freeze for ClassBinding
impl Move for ClassBinding
impl RefUnwindSafe for ClassBinding
impl Send for ClassBinding
impl Sync for ClassBinding
impl Unpin for ClassBinding
impl UnsafeUnpin for ClassBinding
impl UnwindSafe for ClassBinding
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