pub struct Emby {
pub url: String,
pub token: String,
pub metadata_refresh_mode: EmbyMetadataRefreshMode,
pub refresh_metadata: bool,
pub rewrite: Option<Rewrite>,
}
Fields§
§url: String
URL to the Jellyfin/Emby server
token: String
API token for the Jellyfin/Emby server
metadata_refresh_mode: EmbyMetadataRefreshMode
Metadata refresh mode (default: FullRefresh
)
refresh_metadata: bool
Whether to try to refresh metadata for the item instead of scan (default: true)
rewrite: Option<Rewrite>
Rewrite path for the file
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Emby
impl<'de> Deserialize<'de> for Emby
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 Emby
impl RefUnwindSafe for Emby
impl Send for Emby
impl Sync for Emby
impl Unpin for Emby
impl UnwindSafe for Emby
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