pub struct Described {
pub id: ChangeId,
pub title: Option<String>,
pub body: String,
}Expand description
One description a host was handed for a change request after it was opened.
What RemoteHost::describe_change was given, verbatim: the title only where the
call carried one, because a call that replaced the body alone left the title as
it was, and a record that filled it in would say the caller wrote a title nobody
wrote.
Fields§
§id: ChangeIdThe change request the description was written to.
title: Option<String>The title the call replaced the change request’s with, when it replaced one.
body: StringThe body the call replaced the change request’s with.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Described
impl<'de> Deserialize<'de> for Described
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 Described
impl StructuralPartialEq for Described
Auto Trait Implementations§
impl Freeze for Described
impl RefUnwindSafe for Described
impl Send for Described
impl Sync for Described
impl Unpin for Described
impl UnsafeUnpin for Described
impl UnwindSafe for Described
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§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.