pub struct BlockTerminator {
pub open: &'static str,
pub end: &'static str,
pub close: &'static str,
}Expand description
The three lines a client needs around a routine, so the ; inside its
body does not end it. See DeployClient::block_terminator.
Firebird’s isql, described this way:
use razeri_plugin_api::BlockTerminator;
const SET_TERM: BlockTerminator =
BlockTerminator { open: "SET TERM ^ ;", end: "^", close: "SET TERM ; ^" };Fields§
§open: &'static strThe line written before the routine.
end: &'static strWhat ends the routine, in place of its last ;.
close: &'static strThe line written after the routine, which puts the ordinary end back.
Trait Implementations§
Source§impl Clone for BlockTerminator
impl Clone for BlockTerminator
impl Copy for BlockTerminator
Source§impl Debug for BlockTerminator
impl Debug for BlockTerminator
impl Eq for BlockTerminator
Source§impl PartialEq for BlockTerminator
impl PartialEq for BlockTerminator
Source§impl Serialize for BlockTerminator
impl Serialize for BlockTerminator
impl StructuralPartialEq for BlockTerminator
Auto Trait Implementations§
impl Forget for BlockTerminator
impl Freeze for BlockTerminator
impl RefUnwindSafe for BlockTerminator
impl Send for BlockTerminator
impl Sync for BlockTerminator
impl Unpin for BlockTerminator
impl UnsafeUnpin for BlockTerminator
impl UnwindSafe for BlockTerminator
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.