pub struct JellyfinAPI { /* private fields */ }
Expand description
Structure managing all API interactions.
Implementations§
Source§impl JellyfinAPI
impl JellyfinAPI
Sourcepub async fn async_get_log_entries(
&self,
start_index: Option<u32>,
limit: Option<u32>,
min_date: Option<String>,
has_user_id: Option<bool>,
) -> JellyfinSDKResult<JellyfinResponse<JellyfinBaseResponse<JellyfinLogEntry>>>
pub async fn async_get_log_entries( &self, start_index: Option<u32>, limit: Option<u32>, min_date: Option<String>, has_user_id: Option<bool>, ) -> JellyfinSDKResult<JellyfinResponse<JellyfinBaseResponse<JellyfinLogEntry>>>
Gets activity log entries.
Source§impl JellyfinAPI
impl JellyfinAPI
Sourcepub async fn async_get_keys(
&self,
) -> JellyfinSDKResult<JellyfinResponse<JellyfinBaseResponse<JellyfinKey>>>
pub async fn async_get_keys( &self, ) -> JellyfinSDKResult<JellyfinResponse<JellyfinBaseResponse<JellyfinKey>>>
Get all keys.
Sourcepub async fn async_create_key(
&self,
app: &str,
) -> JellyfinSDKResult<JellyfinResponse<()>>
pub async fn async_create_key( &self, app: &str, ) -> JellyfinSDKResult<JellyfinResponse<()>>
Create a new api key.
Sourcepub async fn async_revoke_key(
&self,
key: &str,
) -> JellyfinSDKResult<JellyfinResponse<()>>
pub async fn async_revoke_key( &self, key: &str, ) -> JellyfinSDKResult<JellyfinResponse<()>>
Remove an api key.
Source§impl JellyfinAPI
impl JellyfinAPI
Sourcepub async fn async_get_endpoint_informations(
&self,
) -> JellyfinSDKResult<JellyfinResponse<SystemEndpointStatus>>
pub async fn async_get_endpoint_informations( &self, ) -> JellyfinSDKResult<JellyfinResponse<SystemEndpointStatus>>
Gets information about the request endpoint.
Sourcepub async fn async_get_system_informations(
&self,
) -> JellyfinSDKResult<JellyfinResponse<SystemInformations>>
pub async fn async_get_system_informations( &self, ) -> JellyfinSDKResult<JellyfinResponse<SystemInformations>>
Gets information about the server.
Sourcepub async fn async_get_public_system_informations(
&self,
) -> JellyfinSDKResult<JellyfinResponse<PublicSystemInformations>>
pub async fn async_get_public_system_informations( &self, ) -> JellyfinSDKResult<JellyfinResponse<PublicSystemInformations>>
Gets public information about the server.
Sourcepub async fn async_get_available_log_files(
&self,
) -> JellyfinSDKResult<JellyfinResponse<AvailableLogFiles>>
pub async fn async_get_available_log_files( &self, ) -> JellyfinSDKResult<JellyfinResponse<AvailableLogFiles>>
Gets a list of available server log files.
Sourcepub async fn async_get_log_file(
&self,
name: &str,
) -> JellyfinSDKResult<JellyfinResponse<String>>
pub async fn async_get_log_file( &self, name: &str, ) -> JellyfinSDKResult<JellyfinResponse<String>>
Gets a log file.
pub async fn async_ping_server_http_get( &self, ) -> JellyfinSDKResult<JellyfinResponse<String>>
pub async fn async_ping_server_http_post( &self, ) -> JellyfinSDKResult<JellyfinResponse<String>>
pub async fn async_restart_server( &self, ) -> JellyfinSDKResult<JellyfinResponse<()>>
pub async fn async_shutdown_server( &self, ) -> JellyfinSDKResult<JellyfinResponse<()>>
pub async fn async_get_wake_on_lan_informations( &self, ) -> JellyfinSDKResult<JellyfinResponse<WakeOnLanInformations>>
Auto Trait Implementations§
impl Freeze for JellyfinAPI
impl !RefUnwindSafe for JellyfinAPI
impl Send for JellyfinAPI
impl Sync for JellyfinAPI
impl Unpin for JellyfinAPI
impl !UnwindSafe for JellyfinAPI
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