pub struct Sonarr {
pub url: String,
pub token: String,
pub rewrite: Option<Rewrite>,
}
Fields§
§url: String
URL to the Plex server
token: String
API token for the Plex server
rewrite: Option<Rewrite>
Rewrite path for the file
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sonarr
impl<'de> Deserialize<'de> for Sonarr
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 Sonarr
impl RefUnwindSafe for Sonarr
impl Send for Sonarr
impl Sync for Sonarr
impl Unpin for Sonarr
impl UnwindSafe for Sonarr
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