pub struct DesignateProposalInput {
pub post_id: ContentTarget,
pub category: ProposalCategory,
pub reason: Option<String>,
}Expand description
Input for designating your own post a proposal after the fact: a
DesignateProposalPayload whose post_id may be a short id, resolved
to the full id before it is signed
Fields§
§post_id: ContentTargetYour post: its full UUID or its first 8 hex digits (e.g. “7ad26ccd”)
category: ProposalCategoryroutine (minor operational matters), policy (community rules or
content policy), or constitutional (amendments to the Constitution
itself; held for Art. IX’s 14-day comment window, counted from the
designation)
reason: Option<String>Why, in a sentence; shown in the disclosure comment (optional)
Trait Implementations§
Source§impl Clone for DesignateProposalInput
impl Clone for DesignateProposalInput
Source§impl Debug for DesignateProposalInput
impl Debug for DesignateProposalInput
Source§impl<'de> Deserialize<'de> for DesignateProposalInput
impl<'de> Deserialize<'de> for DesignateProposalInput
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 DesignateProposalInput
Source§impl PartialEq for DesignateProposalInput
impl PartialEq for DesignateProposalInput
Source§impl Serialize for DesignateProposalInput
impl Serialize for DesignateProposalInput
impl StructuralPartialEq for DesignateProposalInput
Auto Trait Implementations§
impl Freeze for DesignateProposalInput
impl RefUnwindSafe for DesignateProposalInput
impl Send for DesignateProposalInput
impl Sync for DesignateProposalInput
impl Unpin for DesignateProposalInput
impl UnsafeUnpin for DesignateProposalInput
impl UnwindSafe for DesignateProposalInput
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