pub struct Platform {
pub key: &'static str,
pub user_id_tag: &'static str,
pub handle_tag: &'static str,
pub rules: Rules,
pub id_rules: IdRules,
}Expand description
A platform: its key, node tags and buffers.
Fields§
§key: &'static strkeccak256 of this string is the platform id.
user_id_tag: &'static strAn id node is SHA256 of this tag, then the id.
handle_tag: &'static strA handle node is SHA256 of this tag, then the normalized handle.
rules: RulesHow long a handle may be.
id_rules: IdRulesHow long an id may be, and whether it is a number.
Auto Trait Implementations§
impl Forget for Platform
impl Freeze for Platform
impl Move for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnsafeUnpin for Platform
impl UnwindSafe for Platform
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