Proteins that are structural components of bacterial fimbriae (FIMBRIAE, BACTERIAL) or sex pili (PILI, SEX).