pub struct Referent {Show 16 fields
pub _type: String,
pub annotator_id: u32,
pub annotator_login: String,
pub api_path: String,
pub classification: String,
pub fragment: String,
pub id: u32,
pub ios_app_url: Option<String>,
pub is_description: bool,
pub is_image: Option<bool>,
pub path: String,
pub range: BTreeMap<String, String>,
pub song_id: Option<u32>,
pub url: String,
pub current_user_metadata: Option<UserMetadata>,
pub annotations: Vec<Annotation>,
}
Fields§
§_type: String
§annotator_id: u32
§annotator_login: String
§api_path: String
§classification: String
§fragment: String
§id: u32
§ios_app_url: Option<String>
Only with
user-core
level token
is_description: bool
§is_image: Option<bool>
Only with
user-core
level token
path: String
§range: BTreeMap<String, String>
§song_id: Option<u32>
§url: String
§current_user_metadata: Option<UserMetadata>
Only with
user-core
level token
annotations: Vec<Annotation>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Referent
impl<'de> Deserialize<'de> for Referent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Referent
impl RefUnwindSafe for Referent
impl Send for Referent
impl Sync for Referent
impl Unpin for Referent
impl UnwindSafe for Referent
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