pub fn build_user_state(
        username: Vec<u8>,
        plaintext_val: Vec<u8>,
        version: u64,
        label_len: u32,
        label_val: [u8; 32],
        epoch: u64,
    ) -> ValueState {
        ValueState {
            plaintext_val: AkdValue(plaintext_val),
            version,
            label: NodeLabel::new(label_val, label_len),
            epoch,
            username: AkdLabel(username),
        }
    }
/// Build a user state from the properties
Build a user state from the properties
Build a user state from the properties
pub fn build_user_state(
        username: Vec<u8>,
        plaintext_val: Vec<u8>,
        version: u64,
        label_len: u32,
        label_val: [u8; 32],
        epoch: u64,
    ) -> ValueState {
        ValueState {
            plaintext_val: AkdValue(plaintext_val),
            version,
            label: NodeLabel::new(label_val, label_len),
            epoch,
            username: AkdLabel(username),
        }
    }
pub fn build_user_state ( username : Vec < u8 > , plaintext_val : Vec < u8 > , version : u64 , label_len : u32 , label_val : [ u8 ; 32 ] , epoch : u64 , ) -> ValueState { ValueState { plaintext_val : AkdValue ( plaintext_val ) , version , label : NodeLabel :: new ( label_val , label_len ) , epoch , username : AkdLabel ( username ) , } }
Build a user state from the properties
Build a user state from the properties
username
Vec<u8>
plaintext_val
Vec<u8>
version
u64
label_len
u32
label_val
[u8; 32]
epoch
u64
username
Vec<u8>
plaintext_val
Vec<u8>
version
u64
label_len
u32
label_val
[u8; 32]
epoch
u64