pub fn is_incorrect_mount_target_state(&self) -> bool {
        matches!(
            &self.kind,
            ModifyMountTargetSecurityGroupsErrorKind::IncorrectMountTargetState(_)
        )
    }
/// Returns `true` if the error kind is `ModifyMountTargetSecurityGroupsErrorKind::IncorrectMountTargetState`.
Returns `true` if the error kind is `ModifyMountTargetSecurityGroupsErrorKind::IncorrectMountTargetState`.
Returns ` true ` if the error kind is ` ModifyMountTargetSecurityGroupsErrorKind :: IncorrectMountTargetState ` .
pub fn is_incorrect_mount_target_state(&self) -> bool {
        matches!(
            &self.kind,
            ModifyMountTargetSecurityGroupsErrorKind::IncorrectMountTargetState(_)
        )
    }
pub fn is_incorrect_mount_target_state ( & self ) -> bool { matches ! ( self kind ModifyMountTargetSecurityGroupsErrorKind IncorrectMountTargetState ( ) ) }
Returns `true` if the error kind is `ModifyMountTargetSecurityGroupsErrorKind::IncorrectMountTargetState`.
Returns ` true ` if the error kind is ` ModifyMountTargetSecurityGroupsErrorKind :: IncorrectMountTargetState ` .
&self
&self