pub fn encode_set_credential(
operation_type: DataOperationType,
credential: Credential,
credential_data: Vec<u8>,
user_index: Option<u16>,
user_status: Option<UserStatus>,
user_type: Option<UserType>,
) -> Result<Vec<u8>>Expand description
Encode SetCredential command (0x22)