pub struct TurnAttachment {
pub path: String,
pub text: String,
}Expand description
One client-read text attachment for a submitted turn.
Fields§
§path: StringDisplay path used for labeling: workspace-relative for workspace files, absolute for files attached from anywhere else.
text: StringBounded file content.
Trait Implementations§
Source§impl Clone for TurnAttachment
impl Clone for TurnAttachment
Source§impl Debug for TurnAttachment
impl Debug for TurnAttachment
Source§impl<'de> Deserialize<'de> for TurnAttachment
impl<'de> Deserialize<'de> for TurnAttachment
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
impl Eq for TurnAttachment
Source§impl PartialEq for TurnAttachment
impl PartialEq for TurnAttachment
Source§impl Serialize for TurnAttachment
impl Serialize for TurnAttachment
impl StructuralPartialEq for TurnAttachment
Auto Trait Implementations§
impl Freeze for TurnAttachment
impl RefUnwindSafe for TurnAttachment
impl Send for TurnAttachment
impl Sync for TurnAttachment
impl Unpin for TurnAttachment
impl UnsafeUnpin for TurnAttachment
impl UnwindSafe for TurnAttachment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.