Struct Open AiImage Url
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub struct OpenAiImageUrl {
pub url: String,
pub detail: Option<String>,
}
OpenAI image URL payload.
Fields
url: String
URL for the image.
detail: Option<String>
Optional provider-specific detail hint.
Trait Implementations
impl Clone for OpenAiImageUrl
impl Clone for OpenAiImageUrl
clone
fn clone(&self) -> OpenAiImageUrl
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for OpenAiImageUrl
impl Debug for OpenAiImageUrl
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'de> Deserialize<'de> for OpenAiImageUrl
impl<'de> Deserialize<'de> for OpenAiImageUrl
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OpenAiImageUrl, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl PartialEq for OpenAiImageUrl
impl PartialEq for OpenAiImageUrl
eq
fn eq(&self, other: &OpenAiImageUrl) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for OpenAiImageUrl
impl Serialize for OpenAiImageUrl
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl WireValue<Box<ImageUrl>> for OpenAiImageUrl
impl WireValue<Box<ImageUrl>> for OpenAiImageUrl
to_wire
fn to_wire(self) -> Result<Box<ImageUrl>, ConversionError>
from_wire
fn from_wire(value: Box<ImageUrl>) -> Result<OpenAiImageUrl, ConversionError>
impl WireValue<ImageUrl> for OpenAiImageUrl
impl WireValue<ImageUrl> for OpenAiImageUrl
to_wire
fn to_wire(self) -> Result<ImageUrl, ConversionError>
from_wire
fn from_wire(value: ImageUrl) -> Result<OpenAiImageUrl, ConversionError>
impl StructuralPartialEq for OpenAiImageUrl
impl StructuralPartialEq for OpenAiImageUrl