pub struct LibraryOptionsResultDto {
pub metadata_readers: Vec<LibraryOptionInfoDto>,
pub metadata_savers: Vec<LibraryOptionInfoDto>,
pub subtitle_fetchers: Vec<LibraryOptionInfoDto>,
pub type_options: Vec<LibraryTypeOptionsDto>,
}
Expand description
Library options result dto.
JSON schema
{
"description": "Library options result dto.",
"type": "object",
"properties": {
"MetadataReaders": {
"description": "Gets or sets the metadata readers.",
"type": "array",
"items": {
"$ref": "#/components/schemas/LibraryOptionInfoDto"
}
},
"MetadataSavers": {
"description": "Gets or sets the metadata savers.",
"type": "array",
"items": {
"$ref": "#/components/schemas/LibraryOptionInfoDto"
}
},
"SubtitleFetchers": {
"description": "Gets or sets the subtitle fetchers.",
"type": "array",
"items": {
"$ref": "#/components/schemas/LibraryOptionInfoDto"
}
},
"TypeOptions": {
"description": "Gets or sets the type options.",
"type": "array",
"items": {
"$ref": "#/components/schemas/LibraryTypeOptionsDto"
}
}
},
"additionalProperties": false
}
Fields§
§metadata_readers: Vec<LibraryOptionInfoDto>
Gets or sets the metadata readers.
metadata_savers: Vec<LibraryOptionInfoDto>
Gets or sets the metadata savers.
subtitle_fetchers: Vec<LibraryOptionInfoDto>
Gets or sets the subtitle fetchers.
type_options: Vec<LibraryTypeOptionsDto>
Gets or sets the type options.
Implementations§
Source§impl LibraryOptionsResultDto
impl LibraryOptionsResultDto
pub fn builder() -> LibraryOptionsResultDto
Trait Implementations§
Source§impl Clone for LibraryOptionsResultDto
impl Clone for LibraryOptionsResultDto
Source§fn clone(&self) -> LibraryOptionsResultDto
fn clone(&self) -> LibraryOptionsResultDto
Returns a duplicate 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 LibraryOptionsResultDto
impl Debug for LibraryOptionsResultDto
Source§impl<'de> Deserialize<'de> for LibraryOptionsResultDto
impl<'de> Deserialize<'de> for LibraryOptionsResultDto
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
Source§impl From<&LibraryOptionsResultDto> for LibraryOptionsResultDto
impl From<&LibraryOptionsResultDto> for LibraryOptionsResultDto
Source§fn from(value: &LibraryOptionsResultDto) -> Self
fn from(value: &LibraryOptionsResultDto) -> Self
Converts to this type from the input type.
Source§impl From<LibraryOptionsResultDto> for LibraryOptionsResultDto
impl From<LibraryOptionsResultDto> for LibraryOptionsResultDto
Source§fn from(value: LibraryOptionsResultDto) -> Self
fn from(value: LibraryOptionsResultDto) -> Self
Converts to this type from the input type.
Source§impl Serialize for LibraryOptionsResultDto
impl Serialize for LibraryOptionsResultDto
Source§impl TryFrom<LibraryOptionsResultDto> for LibraryOptionsResultDto
impl TryFrom<LibraryOptionsResultDto> for LibraryOptionsResultDto
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: LibraryOptionsResultDto) -> Result<Self, ConversionError>
fn try_from(value: LibraryOptionsResultDto) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for LibraryOptionsResultDto
impl RefUnwindSafe for LibraryOptionsResultDto
impl Send for LibraryOptionsResultDto
impl Sync for LibraryOptionsResultDto
impl Unpin for LibraryOptionsResultDto
impl UnwindSafe for LibraryOptionsResultDto
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