pub struct LogEntryCreate {
pub resolved: Option<Boolean>,
pub cper: Option<CperUpdate>,
pub resolution_steps: Option<Vec<ResolutionStepUpdate>>,
}Expand description
Create struct corresponding to LogEntry
Fields§
§resolved: Option<Boolean>§cper: Option<CperUpdate>§resolution_steps: Option<Vec<ResolutionStepUpdate>>Implementations§
Source§impl LogEntryCreate
impl LogEntryCreate
pub fn builder() -> Self
pub fn build(self) -> Self
pub fn with_resolved(self, v: Boolean) -> Self
pub fn with_cper(self, v: CperUpdate) -> Self
pub fn with_resolution_steps(self, v: Vec<ResolutionStepUpdate>) -> Self
Trait Implementations§
Source§impl Creatable<LogEntryCreate, LogEntry> for LogEntryCollection
impl Creatable<LogEntryCreate, LogEntry> for LogEntryCollection
Source§impl Debug for LogEntryCreate
impl Debug for LogEntryCreate
Auto Trait Implementations§
impl Freeze for LogEntryCreate
impl RefUnwindSafe for LogEntryCreate
impl Send for LogEntryCreate
impl Sync for LogEntryCreate
impl Unpin for LogEntryCreate
impl UnsafeUnpin for LogEntryCreate
impl UnwindSafe for LogEntryCreate
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