pub struct ReplStartupContract {
pub prompt: String,
pub include_profile_context: bool,
pub policy: ExecutionPolicy,
}Expand description
Stable REPL startup contract.
Fields§
§prompt: StringPrompt format string.
include_profile_context: boolWhether profile/context is displayed in prompt.
policy: ExecutionPolicyEffective startup policy.
Trait Implementations§
Source§impl Clone for ReplStartupContract
impl Clone for ReplStartupContract
Source§fn clone(&self) -> ReplStartupContract
fn clone(&self) -> ReplStartupContract
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReplStartupContract
impl Debug for ReplStartupContract
Source§impl PartialEq for ReplStartupContract
impl PartialEq for ReplStartupContract
impl Eq for ReplStartupContract
impl StructuralPartialEq for ReplStartupContract
Auto Trait Implementations§
impl Freeze for ReplStartupContract
impl RefUnwindSafe for ReplStartupContract
impl Send for ReplStartupContract
impl Sync for ReplStartupContract
impl Unpin for ReplStartupContract
impl UnsafeUnpin for ReplStartupContract
impl UnwindSafe for ReplStartupContract
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,
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.