pub struct MetadataResponse {
pub image_styles: Vec<ImageStyle>,
pub animation_styles: Vec<AnimationStyle>,
pub age_ranges: Vec<AgeRange>,
pub affiliations: Vec<Affiliation>,
pub resource_types: Vec<ResourceType>,
pub subjects: Vec<Subject>,
pub image_tags: Vec<ImageTag>,
}
Expand description
Response for fetching all metadata.
Fields§
§image_styles: Vec<ImageStyle>
All image styles the server has.
animation_styles: Vec<AnimationStyle>
All animation styles the server has.
age_ranges: Vec<AgeRange>
All audio… All age ranges the server has.
affiliations: Vec<Affiliation>
All affiliations the server has.
resource_types: Vec<ResourceType>
All additional resources the server has.
subjects: Vec<Subject>
All subjects the server has.
All tags for images.
Trait Implementations§
Source§impl Clone for MetadataResponse
impl Clone for MetadataResponse
Source§fn clone(&self) -> MetadataResponse
fn clone(&self) -> MetadataResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MetadataResponse
impl Debug for MetadataResponse
Source§impl<'de> Deserialize<'de> for MetadataResponse
impl<'de> Deserialize<'de> for MetadataResponse
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 MetadataResponse
impl RefUnwindSafe for MetadataResponse
impl Send for MetadataResponse
impl Sync for MetadataResponse
impl Unpin for MetadataResponse
impl UnwindSafe for MetadataResponse
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