pub struct AddNotesBuilder { /* private fields */ }Expand description
Builder to create a request for adding notes to a given file
Implementations§
Source§impl AddNotesBuilder
impl AddNotesBuilder
Sourcepub fn new(client: Client, file: FileIdentifier) -> Self
pub fn new(client: Client, file: FileIdentifier) -> Self
Creates a new notes builder for the given file id
Sourcepub fn add_note<S1: ToString, S2: ToString>(self, name: S1, note: S2) -> Self
pub fn add_note<S1: ToString, S2: ToString>(self, name: S1, note: S2) -> Self
Adds a single note
Auto Trait Implementations§
impl Freeze for AddNotesBuilder
impl !RefUnwindSafe for AddNotesBuilder
impl Send for AddNotesBuilder
impl Sync for AddNotesBuilder
impl Unpin for AddNotesBuilder
impl !UnwindSafe for AddNotesBuilder
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