set_credential

Function set_credential 

Source
pub async fn set_credential(
    conn: &Connection,
    endpoint: u16,
    operation_type: DataOperationType,
    credential: Credential,
    credential_data: Vec<u8>,
    user_index: Option<u16>,
    user_status: Option<UserStatus>,
    user_type: Option<UserType>,
) -> Result<SetCredentialResponse>
Expand description

Invoke SetCredential command on cluster Door Lock.