Expand description
Other Resources
- Source code - github.com/mjbrisebois/rust-hc-crud-ceps
- Cargo package - crates.io/crates/hc_crud_ceps
Structs§
- Entity
- The context and content of a specific entry
- Entity
Type - An Entity categorization format that required the name and model values
Enums§
- Utils
Error - The potential Error types for this CRUD library
Traits§
- Entry
Model - Identifies a struct as an Entity model type
Functions§
- create_
entity - Create a new entity
- delete_
entity - Delete an entity
- fetch_
record - Get the record for any given EntryHash
- fetch_
record_ latest - Get the latest Record for any given entity ID
- find_
earliest_ action - Finds and returns the Action with the earliest timestamp from a list
- find_
latest_ link - Find the latest link from a list of links
- follow_
updates - Follow the trail of (earliest) updates and return the full Action path.
- get_
entities - Get multiple entities for a given base and link tag filter
- get_
entity - Get an entity by its ID
- get_
origin_ address - Get the entity ID for any given entity EntryHash
- now
- Get the current unix timestamp
- path_
from_ collection - Create a Path from any iterable list of items that implement the Display trait
- to_
entry_ type - Verify a Record’s entry is the expected entry type
- trace_
action_ history - Follow the Action’s origin until we find the Create Action.
- update_
entity - Update an entity
Type Aliases§
- Empty
Entity - A general use entity definition for deserializing any entity input when the content is not relevant.
- Utils
Result - The Result type for
Result<T, UtilsError>(UtilsError)