pub struct RiftSource { /* private fields */ }Implementations§
Source§impl RiftSource
impl RiftSource
pub fn new(endpoints: RiftEndpoints) -> Self
pub fn with_client(endpoints: RiftEndpoints, client: Client) -> Self
pub fn endpoints(&self) -> &RiftEndpoints
pub async fn releases(&self) -> Result<Vec<RiftRelease>>
pub async fn profile_json(&self, loader_version: &str) -> Result<ProfileJson>
pub async fn profile_json_for_release( &self, release: &RiftRelease, ) -> Result<ProfileJson>
Trait Implementations§
Source§impl Clone for RiftSource
impl Clone for RiftSource
Source§impl Debug for RiftSource
impl Debug for RiftSource
Auto Trait Implementations§
impl !RefUnwindSafe for RiftSource
impl !UnwindSafe for RiftSource
impl Forget for RiftSource
impl Freeze for RiftSource
impl Move for RiftSource
impl Send for RiftSource
impl Sync for RiftSource
impl Unpin for RiftSource
impl UnsafeUnpin for RiftSource
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