Result type for toggle note pinned state operation.
Failed operation result containing error information.
Successful result indicating the note was updated.