pub struct RFPBodyV0 {
pub name: String,
pub summary: String,
pub description: String,
pub timeline: TimelineStatus,
pub submission_deadline: Timestamp,
}
Fields§
§name: String
§summary: String
§description: String
§timeline: TimelineStatus
§submission_deadline: Timestamp
Trait Implementations§
Source§impl BorshDeserialize for RFPBodyV0
impl BorshDeserialize for RFPBodyV0
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for RFPBodyV0
impl BorshSerialize for RFPBodyV0
Source§impl<'de> Deserialize<'de> for RFPBodyV0
impl<'de> Deserialize<'de> for RFPBodyV0
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
Source§impl From<RFPBodyV0> for VersionedRFPBody
impl From<RFPBodyV0> for VersionedRFPBody
Source§impl From<VersionedRFPBody> for RFPBodyV0
impl From<VersionedRFPBody> for RFPBodyV0
Source§fn from(solution: VersionedRFPBody) -> Self
fn from(solution: VersionedRFPBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RFPBodyV0
impl RefUnwindSafe for RFPBodyV0
impl Send for RFPBodyV0
impl Sync for RFPBodyV0
impl Unpin for RFPBodyV0
impl UnwindSafe for RFPBodyV0
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