pub struct AsSent<T> {
pub sent: Value,
pub input: T,
}Expand description
A tool’s input beside the JSON it was sent as, for what the typed input
no longer holds (an id’s spelling, GetContentInput::read_as). Its
schema is T’s
Fields§
§sent: Value§input: TImplementations§
Source§impl AsSent<GetContentInput>
impl AsSent<GetContentInput>
Sourcepub fn read_as(&self) -> Option<String>
pub fn read_as(&self) -> Option<String>
GetContentInput::read_as, from the id as sent
Source§impl AsSent<FetchAgoraLinkInput>
impl AsSent<FetchAgoraLinkInput>
Sourcepub fn read_as(&self) -> Option<String>
pub fn read_as(&self) -> Option<String>
GetContentInput::read_as of the read the link names, from the
link as sent
Trait Implementations§
Source§impl<'de, T: DeserializeOwned> Deserialize<'de> for AsSent<T>
impl<'de, T: DeserializeOwned> Deserialize<'de> for AsSent<T>
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl<T: PartialEq> StructuralPartialEq for AsSent<T>
Auto Trait Implementations§
impl<T> Freeze for AsSent<T>where
T: Freeze,
impl<T> RefUnwindSafe for AsSent<T>where
T: RefUnwindSafe,
impl<T> Send for AsSent<T>where
T: Send,
impl<T> Sync for AsSent<T>where
T: Sync,
impl<T> Unpin for AsSent<T>where
T: Unpin,
impl<T> UnsafeUnpin for AsSent<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for AsSent<T>where
T: UnwindSafe,
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