pub struct FilterOperator {
pub suffix: String,
pub type_name: String,
}Expand description
A filter operator entry produced by a LanguageBackend.
The type_name field holds the target-language type as a string (e.g.
"str", "List[int]", "string[]"). Generator code converts this into a
template-context struct whose field may be named differently
(python_type, ts_type, …).
Fields§
§suffix: String§type_name: StringTrait Implementations§
Source§impl Clone for FilterOperator
impl Clone for FilterOperator
Source§fn clone(&self) -> FilterOperator
fn clone(&self) -> FilterOperator
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 FilterOperator
impl Debug for FilterOperator
Auto Trait Implementations§
impl Freeze for FilterOperator
impl RefUnwindSafe for FilterOperator
impl Send for FilterOperator
impl Sync for FilterOperator
impl Unpin for FilterOperator
impl UnsafeUnpin for FilterOperator
impl UnwindSafe for FilterOperator
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