pub struct DocumentPatch {Show 19 fields
pub uri: Option<String>,
pub size_bytes: Option<Option<i64>>,
pub template_id: Option<Option<i64>>,
pub identifier: Option<Option<String>>,
pub valid_from: Option<Option<String>>,
pub valid_to: Option<Option<String>>,
pub user_id: Option<Option<String>>,
pub herd_id: Option<Option<i64>>,
pub device_id: Option<Option<i64>>,
pub product_id: Option<Option<i64>>,
pub operating_context_id: Option<Option<i64>>,
pub related_herd_id: Option<Option<i64>>,
pub is_approved: Option<bool>,
pub approved_by: Option<Option<String>>,
pub approved_at: Option<Option<String>>,
pub updated_by: Option<Option<String>>,
pub lifecycle: Option<EntityLifecycle>,
pub lifecycle_changed_by: Option<Option<String>>,
pub lifecycle_reason: Option<Option<String>>,
}Fields§
§uri: Option<String>§size_bytes: Option<Option<i64>>§template_id: Option<Option<i64>>§identifier: Option<Option<String>>§valid_from: Option<Option<String>>§valid_to: Option<Option<String>>§user_id: Option<Option<String>>§herd_id: Option<Option<i64>>§device_id: Option<Option<i64>>§product_id: Option<Option<i64>>§operating_context_id: Option<Option<i64>>§is_approved: Option<bool>§approved_by: Option<Option<String>>§approved_at: Option<Option<String>>§updated_by: Option<Option<String>>§lifecycle: Option<EntityLifecycle>§lifecycle_changed_by: Option<Option<String>>§lifecycle_reason: Option<Option<String>>Trait Implementations§
Source§impl Clone for DocumentPatch
impl Clone for DocumentPatch
Source§impl Debug for DocumentPatch
impl Debug for DocumentPatch
Source§impl Default for DocumentPatch
impl Default for DocumentPatch
Source§impl<'de> Deserialize<'de> for DocumentPatch
impl<'de> Deserialize<'de> for DocumentPatch
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 DocumentPatch
impl PartialEq for DocumentPatch
Source§impl Serialize for DocumentPatch
impl Serialize for DocumentPatch
impl StructuralPartialEq for DocumentPatch
Auto Trait Implementations§
impl Freeze for DocumentPatch
impl RefUnwindSafe for DocumentPatch
impl Send for DocumentPatch
impl Sync for DocumentPatch
impl Unpin for DocumentPatch
impl UnsafeUnpin for DocumentPatch
impl UnwindSafe for DocumentPatch
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more