pub struct TextProjectionResponse {
pub language: String,
pub text: String,
}Expand description
Response from Client::project_to_text.
Fields§
§language: StringLanguage identifier echoed back from the request.
text: StringRendered source code.
Trait Implementations§
Source§impl Clone for TextProjectionResponse
impl Clone for TextProjectionResponse
Source§fn clone(&self) -> TextProjectionResponse
fn clone(&self) -> TextProjectionResponse
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 TextProjectionResponse
impl Debug for TextProjectionResponse
Source§impl<'de> Deserialize<'de> for TextProjectionResponse
impl<'de> Deserialize<'de> for TextProjectionResponse
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
Auto Trait Implementations§
impl Freeze for TextProjectionResponse
impl RefUnwindSafe for TextProjectionResponse
impl Send for TextProjectionResponse
impl Sync for TextProjectionResponse
impl Unpin for TextProjectionResponse
impl UnsafeUnpin for TextProjectionResponse
impl UnwindSafe for TextProjectionResponse
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