Struct read_write_set_types::AccessPath
source · pub struct AccessPath {
pub root: Root,
pub offsets: Vec<Offset>,
}
Fields§
§root: Root
§offsets: Vec<Offset>
Implementations§
source§impl AccessPath
impl AccessPath
pub fn offset(&self) -> &[Offset]
pub fn root(&self) -> &Root
pub fn add_offset(&mut self, offset: Offset)
pub fn new_global_constant(addr: AccountAddress, ty: Type) -> Self
pub fn has_secondary_index(&self) -> bool
pub fn to_resource_key(&self) -> Option<ResourceKey>
Trait Implementations§
source§impl Clone for AccessPath
impl Clone for AccessPath
source§fn clone(&self) -> AccessPath
fn clone(&self) -> AccessPath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more