Struct EmbeddingVectorId
pub struct EmbeddingVectorId(/* private fields */);Implementations§
§impl EmbeddingVectorId
impl EmbeddingVectorId
pub fn new(value: impl AsRef<str>) -> Result<EmbeddingVectorId, EmbeddingError>
pub fn as_str(&self) -> &str
Trait Implementations§
§impl AsRef<str> for EmbeddingVectorId
impl AsRef<str> for EmbeddingVectorId
§impl Clone for EmbeddingVectorId
impl Clone for EmbeddingVectorId
§fn clone(&self) -> EmbeddingVectorId
fn clone(&self) -> EmbeddingVectorId
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 more§impl Debug for EmbeddingVectorId
impl Debug for EmbeddingVectorId
§impl Display for EmbeddingVectorId
impl Display for EmbeddingVectorId
§impl FromStr for EmbeddingVectorId
impl FromStr for EmbeddingVectorId
§type Err = EmbeddingError
type Err = EmbeddingError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<EmbeddingVectorId, <EmbeddingVectorId as FromStr>::Err>
fn from_str( value: &str, ) -> Result<EmbeddingVectorId, <EmbeddingVectorId as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for EmbeddingVectorId
impl Hash for EmbeddingVectorId
§impl Ord for EmbeddingVectorId
impl Ord for EmbeddingVectorId
§fn cmp(&self, other: &EmbeddingVectorId) -> Ordering
fn cmp(&self, other: &EmbeddingVectorId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for EmbeddingVectorId
impl PartialEq for EmbeddingVectorId
§impl PartialOrd for EmbeddingVectorId
impl PartialOrd for EmbeddingVectorId
§impl TryFrom<&str> for EmbeddingVectorId
impl TryFrom<&str> for EmbeddingVectorId
§type Error = EmbeddingError
type Error = EmbeddingError
The type returned in the event of a conversion error.
§fn try_from(
value: &str,
) -> Result<EmbeddingVectorId, <EmbeddingVectorId as TryFrom<&str>>::Error>
fn try_from( value: &str, ) -> Result<EmbeddingVectorId, <EmbeddingVectorId as TryFrom<&str>>::Error>
Performs the conversion.
impl Eq for EmbeddingVectorId
impl StructuralPartialEq for EmbeddingVectorId
Auto Trait Implementations§
impl Freeze for EmbeddingVectorId
impl RefUnwindSafe for EmbeddingVectorId
impl Send for EmbeddingVectorId
impl Sync for EmbeddingVectorId
impl Unpin for EmbeddingVectorId
impl UnsafeUnpin for EmbeddingVectorId
impl UnwindSafe for EmbeddingVectorId
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