pub struct SourceAddPayload {
pub source_type: String,
pub uri: String,
pub title: Option<String>,
pub retrieved_at: Option<i64>,
pub content_digest: Option<String>,
pub excerpt: Option<String>,
pub metadata: BTreeMap<String, Value>,
}Fields§
§source_type: String§uri: String§title: Option<String>§retrieved_at: Option<i64>§content_digest: Option<String>§excerpt: Option<String>§metadata: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for SourceAddPayload
impl Clone for SourceAddPayload
Source§fn clone(&self) -> SourceAddPayload
fn clone(&self) -> SourceAddPayload
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 Debug for SourceAddPayload
impl Debug for SourceAddPayload
Source§impl<'de> Deserialize<'de> for SourceAddPayload
impl<'de> Deserialize<'de> for SourceAddPayload
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 PartialEq for SourceAddPayload
impl PartialEq for SourceAddPayload
Source§fn eq(&self, other: &SourceAddPayload) -> bool
fn eq(&self, other: &SourceAddPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SourceAddPayload
impl Serialize for SourceAddPayload
impl StructuralPartialEq for SourceAddPayload
Auto Trait Implementations§
impl Freeze for SourceAddPayload
impl RefUnwindSafe for SourceAddPayload
impl Send for SourceAddPayload
impl Sync for SourceAddPayload
impl Unpin for SourceAddPayload
impl UnsafeUnpin for SourceAddPayload
impl UnwindSafe for SourceAddPayload
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