pub struct ScalarKit {
pub rename: Option<String>,
pub gate: Option<Gate>,
}Expand description
The scalar kit, as a declaration wrote it.
Fields§
§rename: Option<String>rename = "…" — the name a SCHEMA writes, where the Rust one is not it.
gate: Option<Gate>The door, where the declaration put one in front of its values.
Trait Implementations§
Auto Trait Implementations§
impl !Send for ScalarKit
impl !Sync for ScalarKit
impl Freeze for ScalarKit
impl RefUnwindSafe for ScalarKit
impl Unpin for ScalarKit
impl UnsafeUnpin for ScalarKit
impl UnwindSafe for ScalarKit
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