pub struct Plex {
pub url: String,
pub token: String,
pub refresh: bool,
pub analyze: bool,
pub rewrite: Option<Rewrite>,
}
Fields§
§url: String
URL to the Plex server
token: String
API token for the Plex server
refresh: bool
Whether to refresh metadata of the file (default: false)
analyze: bool
Whether to analyze the file (default: false)
rewrite: Option<Rewrite>
Rewrite path for the file
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Plex
impl<'de> Deserialize<'de> for Plex
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 Plex
impl RefUnwindSafe for Plex
impl Send for Plex
impl Sync for Plex
impl Unpin for Plex
impl UnwindSafe for Plex
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