Type Alias LazyNote

Source
pub type LazyNote<'a, A> = LazyLinkedModel<'a, NoteResponse, A>;
Expand description

Similar to Note but without content.

Aliased Type§

struct LazyNote<'a, A> {
    pub url: &'a ItemUrl,
    /* private fields */
}

Fields§

§url: &'a ItemUrl

Implementations§

Source§

impl LazyNote<'_, RwAccess>

Source

pub async fn set( self, title: impl AsRef<str>, content: impl AsRef<str>, ) -> Result<Note<RwAccess>, CubeError>

Set the note