pub struct RsLookupPersonFilter {
pub name: Option<String>,
pub ids: Option<RsIds>,
pub role: Option<PersonType>,
}Expand description
A person constraint for title metadata searches.
Omitting role performs a broad search for the person regardless of their
relationship to the title. Supplying it restricts the match to that exact
canonical or custom role.
Fields§
§name: Option<String>§ids: Option<RsIds>§role: Option<PersonType>Trait Implementations§
Source§impl Clone for RsLookupPersonFilter
impl Clone for RsLookupPersonFilter
Source§impl Debug for RsLookupPersonFilter
impl Debug for RsLookupPersonFilter
Source§impl Default for RsLookupPersonFilter
impl Default for RsLookupPersonFilter
Source§impl<'de> Deserialize<'de> for RsLookupPersonFilter
impl<'de> Deserialize<'de> for RsLookupPersonFilter
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 RsLookupPersonFilter
impl PartialEq for RsLookupPersonFilter
Source§impl Serialize for RsLookupPersonFilter
impl Serialize for RsLookupPersonFilter
impl StructuralPartialEq for RsLookupPersonFilter
Auto Trait Implementations§
impl Forget for RsLookupPersonFilter
impl Freeze for RsLookupPersonFilter
impl Move for RsLookupPersonFilter
impl RefUnwindSafe for RsLookupPersonFilter
impl Send for RsLookupPersonFilter
impl Sync for RsLookupPersonFilter
impl Unpin for RsLookupPersonFilter
impl UnsafeUnpin for RsLookupPersonFilterwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
impl UnwindSafe for RsLookupPersonFilter
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