pub struct FilterConfigHideRule {
pub name: String,
pub condition_name: Option<String>,
pub condition_operator: FilterConfigHideRuleOperator,
pub condition_value: i32,
}Available on crate feature
filter only.Expand description
非表示条件。
Fields§
§name: String§condition_name: Option<String>非表示にする条件の設定名。 Noneの場合は常に非表示になります。
§Note
- 以下の設定タイプのみに対応しています:
FilterConfigItem::Check:オンの場合は1、オフの場合は0として扱われます。FilterConfigItem::CheckSection:セクションごとに変化する場合は2、セクションが変化しない場合はFilterConfigItem::Checkと同じ扱いになります。FilterConfigItem::Select:設定値がそのまま扱われます。FilterConfigItem::File、FilterConfigItem::Folder:設定されている場合は1、設定されていない場合は0として扱われます。
"filter"を指定した場合はフィルタオブジェクトかどうかを判定します。
condition_operator: FilterConfigHideRuleOperator非表示にする条件の演算子。
condition_value: i32非表示にする条件の値。
Trait Implementations§
Source§impl Clone for FilterConfigHideRule
impl Clone for FilterConfigHideRule
Source§fn clone(&self) -> FilterConfigHideRule
fn clone(&self) -> FilterConfigHideRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FilterConfigHideRule
impl RefUnwindSafe for FilterConfigHideRule
impl Send for FilterConfigHideRule
impl Sync for FilterConfigHideRule
impl Unpin for FilterConfigHideRule
impl UnsafeUnpin for FilterConfigHideRule
impl UnwindSafe for FilterConfigHideRule
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more