pub struct ScreeningPolicyResponse {
pub policy: TravelRulePolicyRuleResponse,
pub policy_status: Option<String>,
pub is_default: bool,
pub create_date: Option<String>,
pub last_update: String,
}
Fields§
§policy: TravelRulePolicyRuleResponse
§policy_status: Option<String>
§is_default: bool
§create_date: Option<String>
§last_update: String
Implementations§
Source§impl ScreeningPolicyResponse
impl ScreeningPolicyResponse
pub fn new( policy: TravelRulePolicyRuleResponse, is_default: bool, last_update: String, ) -> ScreeningPolicyResponse
Trait Implementations§
Source§impl Clone for ScreeningPolicyResponse
impl Clone for ScreeningPolicyResponse
Source§fn clone(&self) -> ScreeningPolicyResponse
fn clone(&self) -> ScreeningPolicyResponse
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 ScreeningPolicyResponse
impl Debug for ScreeningPolicyResponse
Source§impl Default for ScreeningPolicyResponse
impl Default for ScreeningPolicyResponse
Source§fn default() -> ScreeningPolicyResponse
fn default() -> ScreeningPolicyResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScreeningPolicyResponse
impl<'de> Deserialize<'de> for ScreeningPolicyResponse
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 PartialEq for ScreeningPolicyResponse
impl PartialEq for ScreeningPolicyResponse
Source§impl Serialize for ScreeningPolicyResponse
impl Serialize for ScreeningPolicyResponse
impl StructuralPartialEq for ScreeningPolicyResponse
Auto Trait Implementations§
impl Freeze for ScreeningPolicyResponse
impl RefUnwindSafe for ScreeningPolicyResponse
impl Send for ScreeningPolicyResponse
impl Sync for ScreeningPolicyResponse
impl Unpin for ScreeningPolicyResponse
impl UnwindSafe for ScreeningPolicyResponse
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