pub struct FetchPhoto { /* private fields */ }
Expand description
Retrieve a specific Photo from its id.
Implementations§
Source§impl FetchPhoto
impl FetchPhoto
Sourcepub fn builder() -> FetchPhotoBuilder
pub fn builder() -> FetchPhotoBuilder
Creates FetchPhotoBuilder
for building URI’s.
Sourcepub fn create_uri(&self) -> Result<String, PexelsError>
pub fn create_uri(&self) -> Result<String, PexelsError>
Creates a URI from the values provided by the FetchPhotoBuilder
.
Auto Trait Implementations§
impl Freeze for FetchPhoto
impl RefUnwindSafe for FetchPhoto
impl Send for FetchPhoto
impl Sync for FetchPhoto
impl Unpin for FetchPhoto
impl UnwindSafe for FetchPhoto
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