pub struct UpsertLibraryTextRequest {
pub external_id: String,
pub folder_id: Option<Uuid>,
pub title: String,
pub content: String,
pub content_format: LibraryTextContentFormat,
pub source_uri: Option<String>,
pub summary: Option<String>,
pub published_at: Option<NaiveDate>,
pub metadata_json: Value,
}Fields§
§external_id: String§folder_id: Option<Uuid>§title: String§content: String§content_format: LibraryTextContentFormat§source_uri: Option<String>§summary: Option<String>§published_at: Option<NaiveDate>§metadata_json: ValueTrait Implementations§
Source§impl Clone for UpsertLibraryTextRequest
impl Clone for UpsertLibraryTextRequest
Source§fn clone(&self) -> UpsertLibraryTextRequest
fn clone(&self) -> UpsertLibraryTextRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for UpsertLibraryTextRequest
impl ComposeSchema for UpsertLibraryTextRequest
Source§impl Debug for UpsertLibraryTextRequest
impl Debug for UpsertLibraryTextRequest
Source§impl<'de> Deserialize<'de> for UpsertLibraryTextRequest
impl<'de> Deserialize<'de> for UpsertLibraryTextRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpsertLibraryTextRequest
impl Serialize for UpsertLibraryTextRequest
Auto Trait Implementations§
impl Freeze for UpsertLibraryTextRequest
impl RefUnwindSafe for UpsertLibraryTextRequest
impl Send for UpsertLibraryTextRequest
impl Sync for UpsertLibraryTextRequest
impl Unpin for UpsertLibraryTextRequest
impl UnsafeUnpin for UpsertLibraryTextRequest
impl UnwindSafe for UpsertLibraryTextRequest
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