Struct reinfer_client::resources::source::Source
source · pub struct Source {
pub id: Id,
pub owner: Username,
pub name: Name,
pub title: String,
pub description: String,
pub language: String,
pub should_translate: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub bucket_id: Option<Id>,
pub kind: SourceKind,
pub transform_tag: Option<TransformTag>,
}
Fields§
§id: Id
§owner: Username
§name: Name
§title: String
§description: String
§language: String
§should_translate: bool
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
§bucket_id: Option<Id>
§kind: SourceKind
§transform_tag: Option<TransformTag>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Source
impl<'de> Deserialize<'de> for Source
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<'a> From<&'a Source> for Identifier
impl<'a> From<&'a Source> for Identifier
source§impl PartialEq for Source
impl PartialEq for Source
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.