mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
Merge pull request #313 from medwards/alias_facebook_fields
Add credentials field alias
This commit is contained in:
commit
c55c63cdf0
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ pub struct Credentials {
|
||||||
#[serde(deserialize_with = "deserialize_protobuf_enum")]
|
#[serde(deserialize_with = "deserialize_protobuf_enum")]
|
||||||
pub auth_type: AuthenticationType,
|
pub auth_type: AuthenticationType,
|
||||||
|
|
||||||
|
#[serde(alias = "encoded_auth_blob")]
|
||||||
#[serde(serialize_with = "serialize_base64")]
|
#[serde(serialize_with = "serialize_base64")]
|
||||||
#[serde(deserialize_with = "deserialize_base64")]
|
#[serde(deserialize_with = "deserialize_base64")]
|
||||||
pub auth_data: Vec<u8>,
|
pub auth_data: Vec<u8>,
|
||||||
|
|
Loading…
Reference in a new issue