pub struct Note<'a> { /* private fields */ }Expand description
Create a Note endpoint for retrieving a single note.
https://pinboard.in/api/#notes_get
§Arguments
id- id of the note to retrieve
Example
let note_endpoint = Note::builder().id("abc123").build().unwrap();
assert_eq!(note_endpoint.endpoint(), "v1/notes/abc123/");Implementations§
Trait Implementations§
Source§impl<'a> Endpoint for Note<'a>
impl<'a> Endpoint for Note<'a>
Source§fn parameters(&self) -> QueryParams<'_>
fn parameters(&self) -> QueryParams<'_>
Query parameters for the endpoint.
Auto Trait Implementations§
impl<'a> Freeze for Note<'a>
impl<'a> RefUnwindSafe for Note<'a>
impl<'a> Send for Note<'a>
impl<'a> Sync for Note<'a>
impl<'a> Unpin for Note<'a>
impl<'a> UnwindSafe for Note<'a>
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