pub struct ListTriggersRequest {
pub cursor: Option<Cursor>,
pub search: Option<String>,
pub detailed: bool,
pub database: Option<String>,
}Expand description
Request for the listTriggers tool.
Fields§
§cursor: Option<Cursor>Opaque cursor from a prior response’s nextCursor; omit for the first page.
search: Option<String>Optional case-insensitive filter on trigger names. The input is used within a LIKE
clause: % matches any sequence of characters and _ matches any single character.
detailed: boolWhen true, each returned entry is a full metadata object (schema, table, timing,
events, activationLevel, definition, plus backend-specific fields); when false or
omitted, each entry is the bare trigger-name string.
database: Option<String>Database to list triggers from. Defaults to the active database.
Trait Implementations§
Source§impl Debug for ListTriggersRequest
impl Debug for ListTriggersRequest
Source§impl Default for ListTriggersRequest
impl Default for ListTriggersRequest
Source§fn default() -> ListTriggersRequest
fn default() -> ListTriggersRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListTriggersRequest
impl<'de> Deserialize<'de> for ListTriggersRequest
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
Source§impl JsonSchema for ListTriggersRequest
impl JsonSchema for ListTriggersRequest
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ListTriggersRequest
impl RefUnwindSafe for ListTriggersRequest
impl Send for ListTriggersRequest
impl Sync for ListTriggersRequest
impl Unpin for ListTriggersRequest
impl UnsafeUnpin for ListTriggersRequest
impl UnwindSafe for ListTriggersRequest
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