#[non_exhaustive]pub struct Schemae784fa7b5facf6418c8a {
pub doc: Presence<String>,
pub session_id: Presence<String>,
pub out: Presence<String>,
pub force: Presence<bool>,
pub change_tag: Presence<String>,
pub change_mode: Presence<String>,
pub decision: Schema47c99cd612a9d6c25ad6,
pub comment_retention: Presence<String>,
pub expected_revision: Presence<String>,
pub target: Schema908f74a9697c6e9d4dbd,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.doc: Presence<String>§session_id: Presence<String>§out: Presence<String>§force: Presence<bool>§change_tag: Presence<String>§change_mode: Presence<String>§decision: Schema47c99cd612a9d6c25ad6§comment_retention: Presence<String>§expected_revision: Presence<String>§target: Schema908f74a9697c6e9d4dbdImplementations§
Source§impl Schemae784fa7b5facf6418c8a
impl Schemae784fa7b5facf6418c8a
pub fn new( decision: Schema47c99cd612a9d6c25ad6, target: Schema908f74a9697c6e9d4dbd, ) -> Self
pub fn with_doc(self, value: String) -> Self
pub fn with_session_id(self, value: String) -> Self
pub fn with_out(self, value: String) -> Self
pub fn with_force(self, value: bool) -> Self
pub fn with_change_tag(self, value: String) -> Self
pub fn with_change_mode(self, value: String) -> Self
pub fn with_comment_retention(self, value: String) -> Self
pub fn with_expected_revision(self, value: String) -> Self
Trait Implementations§
Source§impl Clone for Schemae784fa7b5facf6418c8a
impl Clone for Schemae784fa7b5facf6418c8a
Source§impl Debug for Schemae784fa7b5facf6418c8a
impl Debug for Schemae784fa7b5facf6418c8a
Source§impl<'de> Deserialize<'de> for Schemae784fa7b5facf6418c8a
impl<'de> Deserialize<'de> for Schemae784fa7b5facf6418c8a
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
impl StructuralPartialEq for Schemae784fa7b5facf6418c8a
Auto Trait Implementations§
impl Freeze for Schemae784fa7b5facf6418c8a
impl RefUnwindSafe for Schemae784fa7b5facf6418c8a
impl Send for Schemae784fa7b5facf6418c8a
impl Sync for Schemae784fa7b5facf6418c8a
impl Unpin for Schemae784fa7b5facf6418c8a
impl UnsafeUnpin for Schemae784fa7b5facf6418c8a
impl UnwindSafe for Schemae784fa7b5facf6418c8a
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