Module safe_network::types [−][src]
Expand description
SAFE network data types.
Modules
Structs
BLS keypair share.
Map that is unpublished on the network. This data can only be fetched by the owner or
those in the permissions fields with Permission::Read
access.
Entry Actions for given entry keys.
Set of user permissions.
A value in a Map.
This is used at a network node for holding the obligatory Ed25519 keypair needed as Adult, and then a BLS keypair share when being promoted to Elder. (Also the corresponding public keys). The Ed25519 is kept as Elder, in case it is demoted.
Private Chunk: an immutable chunk of data which can be deleted. Can only be fetched by the listed owner.
Public Chunk: an immutable chunk of data which cannot be deleted.
Object storing the Sequence
Set of private permissions for a user.
Private permissions.
Set of public permissions for a user.
Public permissions.
A signature share, with its index in the combined collection.
Structure representing a Token amount.
Enums
Object storing an Chunk variant.
Address of an Chunk.
Kind of an Chunk.
Object storing a data variant.
Object storing an address of data on the network
Main error type for the crate.
Wrapper for different keypair types.
Set of Actions that can be performed on the Map.
Address of an Map.
Action for a Entry.
Kind of a Map.
Entity that owns the data or tokens.
Wrapper for different public key types.
Address of a Register.
Wrapper for different secret key types.
An action on Sequence data type.
Address of a Sequence.
Index of some data.
Kind of a Sequence.
Wrapper type for permissions set, which can be public or private.
Wrapper type for permissions, which can be public or private.
User that can access Sequence.
Wrapper for different signature types.
Constants
Maximum allowed size for a serialised Chunk to grow to.
Traits
Ability to sign and validate data/tokens, as well as specify the type of ownership of that data
Type Definitions
Entries (key-value pairs, with versioned values).
Wrapper type for lists of values.
Private Sequence.
Public Sequence.
A specialised Result
type for safecoin.
List of entries.
An entry in a Sequence.
Data mutation operation to apply to Sequence.