pub struct SetResult {
pub status: StoredStatus,
pub target_provider: Option<String>,
}Expand description
A write is either accepted or refused, so there is one shape here where a read has four. A name the manifest does not declare has no address to write to, and unlike an absent value it is not something the caller can route around, so it is an error rather than a status.
Fields§
§status: StoredStatus§target_provider: Option<String>Credential-free URI of the provider that took the write, for a consumer that reports the destination back to a human. Absent when the endpoint does not name it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SetResult
impl<'de> Deserialize<'de> for SetResult
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 SetResult
impl StructuralPartialEq for SetResult
Auto Trait Implementations§
impl Freeze for SetResult
impl RefUnwindSafe for SetResult
impl Send for SetResult
impl Sync for SetResult
impl Unpin for SetResult
impl UnsafeUnpin for SetResult
impl UnwindSafe for SetResult
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